- TODO
[ ] v0.1 in lua (for ease of prototyping) [ ] lexer (str -> tokens) [ ] parser (tokens -> ast) [ ] checker (ast -> ast with errors corrected / detected) [ ] transformer (ast -> ast of ANSI C) [ ] writer (ANSI C ast -> ANSI C code) [ ] v0.2 in C?
- A language that aims to be used on system level, but safer than C
- Compiles to ANSI C, so all the tools you're familiar with should work
- Introduces niceties from newer languages
- Avoids ambiguity
- No hidden control flow
- Compatibility with C libraries
- Inspirations from Rust and Zig
src/
is where all the source files liveobj/
is where the compilation happens- The build is managed by
redo
(I use Leah'sredo-c
)