An interpreter for an ECS-based C-style language.
Similarly to the legendary origin of javascript, this interpreter was rushed to completion in a matter of workdays. Expect about the same level of quality as the first iteration of javascript.
Install the Rust programming language's toolchain, then place yourself at the root of the repository and do:
cargo build --release
Still at the root of the repository, do:
cargo run --release -- examples/1-hello.cstar
This will run the hello, world!
example of the examples
directory. There are more examples for you to try in this directory.
- Finish first grammar
- Use parser to build AST
- Treewalk the AST
- ECS
- More examples and automated tests
- Ternary operator
- Types and type checking
- Functions
- Vanilla structs
- Switch statements
- Lists
- Imports and modules
- User input
- Increment/Decrement operators
- Assignements operators
- Enums
- Span and proper errors