buzz
buzz copied to clipboard
👨🚀 buzz, A small/lightweight statically typed scripting language
When named variable not found, suggest resembling existing variables.
```buzz fn hello() -> print("hello"); fn hi() -> print("hello"); ``` Those two functions are the same and should be JIT compiled once. Find some kind of hash function for a...
Probable issues: - External lib (maybe wasm build exists for some?): libpcre, mimalloc (can be turned of `-Duse_mimalloc=false`) - VM tail call not supported: the VM does not uses a...
- Provide a bit more than `assert` - Find and run tests of a buzz project - Output common formats: cli, json, etc. - Customizable - Coverage
- [x] `DateTime` object - [ ] Time arithmetic: `date.add(1, unit: TimeUnit.Day)` etc. - [x] Time formatting and parsing
LSP, Linter, etc. will need to have access to all tokens (including comments, new lines, others?). Right now the scanner skips whitespaces and comments.
To allow breaking outer loops: ```buzz while :outer (true) { while (true) { break outer; } } ```
Implement [Debug Adapter Protocol](https://github.com/Microsoft/debug-adapter-protocol)