Lucian Radu Teodorescu

Results 24 issues of Lucian Radu Teodorescu

**Why?** To properly handle the C++ transpile cases, we should transform Val AST to CXX AST before emitting C++ code. We shall start by translating Val's `ModuleDecl` into a corresponding...

This example is a test with a massive amount of spawns. We implement this with our 3 spawn types: - strict concurrency spawn (non-movable future) - weak concurrency spawn (movable...

We can spawn multiple computation in parallel, at the same time.

Try compiling the following program: ```swift public fun main() { var local_variable = 0 let p = mutable_pointer[to: &local_variable] var f = fun() -> Int { &(p.unsafe[]) = 19 return...

For the following code: ``` type CStruct { var x: Int var y: Int } @ffi("some_c_initializer") private fun some_c_initializer(_ frame: set CStruct); public type Wrapper { private var base_frame: CStruct...

enhancement
language-design

Consider `Bug.hylo` with content: ``` trait dummy { type T fun f() -> Int } ``` and `Bug2.hylo` with content: ``` extension Int { public fun f2() -> Int {...