Benoit Giannangeli

Results 151 issues of Benoit Giannangeli

- Callback called when unrecoverable error is raised (e.g. index out of bound, out of memory) ```buzz fun panic(str error, [str]? stack = null) > void; ``` - New `std`...

language
vm

Linenoise does not handle utf8 or completion Write our own solution or find something that can do as much as https://github.com/giann/sirocco

tooling

Instead of: ``` 000 041 OP_LIST 7 type: 0x101617c00 `[int]` 001 | OP_CONSTANT 1 10 002 | OP_LIST_APPEND 003 | OP_CONSTANT 2 3 004 | OP_LIST_APPEND 005 | OP_CONSTANT 3...

performance
bytecode

``` str word = "hello"; int number = word as int; | compile error ```

language

Would be useful for text editors like helix

tooling
contributor friendly

Passing structs by value is rather complex and depends on the architecture: https://github.com/vnmakarov/mir/issues/332

FFI

Buzz doesn't yet handle structs passed by value (see https://github.com/vnmakarov/mir/issues/332), but there's nothing preventing us from supporting nested structs.

FFI

```buzz zdef( "mylib", ` fn hello() void; fn bye() void; `, prefix: "mylib" ) ```

FFI

```buzz zdef("mylib", "fn Some_Function() void;", as: "someFunction"); ``` The syntax is not obvious here. This would not work for multiple definition zdef statements.

FFI

Handle multiline REPL input

REPL