Benoit Giannangeli
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`...
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
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...
``` str word = "hello"; int number = word as int; | compile error ```
Passing structs by value is rather complex and depends on the architecture: https://github.com/vnmakarov/mir/issues/332
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.
```buzz zdef( "mylib", ` fn hello() void; fn bye() void; `, prefix: "mylib" ) ```
```buzz zdef("mylib", "fn Some_Function() void;", as: "someFunction"); ``` The syntax is not obvious here. This would not work for multiple definition zdef statements.