buzz
buzz copied to clipboard
👨🚀 buzz, A small/lightweight statically typed scripting language
Right now we do constant folding in specific locations. We could systematically check if a node is constant before generating it. BUT it requires to separate type checking in their...
Either create a new `builtin` lib always loaded, or always load `std`. This would allow buzz to count on the fact that some basic things are here (like https://github.com/buzz-language/buzz/issues/250)
- 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...
Downloaded 0.3.0 of Buzz and added it to PATH. On attempting to run buzz from terminal getting the following errors: ``` dyld[3378]: Library not loaded: @rpath/libbuzz.dylib Referenced from: /Users/kenta/.langs/buzz/bin/buzz Reason:...
``` 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.