From the README on GitHub:
- Small in size and complexity (just a bit more than Lua though)
- Statically typed
- Unambiguous
- No nonsense coercion
- Fibers
- JIT compilation with MIR
- Tooling
- Generate doc from docblocks (in progress)
- VS Code extension
- Syntax highlighting
- LSP (in progress)
- Debugger and DAP (planned)
The compiler is written in Zig.
Very neat! Is it embeddable? There are plenty of statically typed languages but there are hardly any statically typed embeddable languages.
Quite a lot to like here. I only skimmed it but some things that seem like slightly odd choices:
>
instead of->
for return types. The latter is pretty clearly nicer IMO and less confusing.type name
instead ofname: type
. The latter is less confusing and plays better with type inference and inlay hints. Easier to parse too.range(0..256)
and unsigned likerange(0..)
and then use flow typing to convert between them.Author’s comment on lobste.rs: