buzz
buzz copied to clipboard
👨🚀 buzz, A small/lightweight statically typed scripting language
Right now only the `replace` function is implemented.
Some ideas [here](https://github.com/titzer/virgil/tree/master/bench)
- Don't generate import that are only used in `test` functions when doing a regular run - Don't generate import that are only used in `main` when doing a test...
Right now this: ```buzz const list = [1,2,3]; ``` Prevents any assignment to `list` but does not prevent modifications to the actual list. We already have `const` objects do we...
Hello! Please tell me, could you make a slightly more convenient wrapper over MIR? More developed, with namespaces, with a more object interface. I think I can do it myself,...
Something that takes hints from gleam and rust enums and pattern matching
Resolves #330
Right now `bz_getQualified` is only able to look up objects and enums by iterating over globals and looking up names in their types. It should be able to retrieve any...
```buzz error MyErrorSet { str, errors\ReadWriteError, // ... } fun canFail() > void !> MyErrorSet { // ... } ``` Should only be syntax sugar
When a block expression has a single statement, the block syntax should be omittable: ```buzz final result = from { foreach (el in list) { if (el.isOk()) { out el;...