luf
luf copied to clipboard
Statically typed, embeddable, scripting language written in Zig.
Some instructions can easily be optimized such as: `const x = 5 + 5` can be optimized to `const x = 10`. `const myFunc = fn() { return 5 }`...
Adding support for debug symbols will allow us to print error traces for runtime errors.
Luf already supports nil literals, but assigning nil to a variable will make its type `nil` as well. Optional should be seperate type that must be handled before usage, similair...
Currently all tests are handwritten within Zig with a lot of expects(). This is not really manageable, and takes quite some work to update on changes. We should look into...