Interpreter (maybe later compiler) for my language in Zig
- Zig 99.1%
- Nix 0.9%
| src | feat: ir production! | |
| .gitignore | first lol | |
| build.zig | first lol | |
| build.zig.zon | first lol | |
| example.ta | feat: ir production! | |
| flake.lock | first lol | |
| flake.nix | first lol | |
| LICENSE | feat: license and readme | |
| README.md | feat: license and readme | |
Tania
This is uhh... a work-in-progress intepreter and possibly later compiler for my language...
Yes.. yes..
Goals (for now)
- Functions
- Structs, tagged unions
- Control flow
- Interfaces (?)
- Actual interpretation
After all that i might consider using something like QBE to produce executables! With that also might (or rather will!) come the requirement of FFI.
"Principles"
Generally, the language is meant to have pretty uniform and simple syntax, and itself be quite simple.
A lot of it is inspired by Zig or Hare.
How does it look so far?
Functions
fn name(...args) type = {
...body
};