I was thinking about a project like this for a long time and the language I will be making this in is Rust - in my eyes a very promising language to get into.
This project is an opportunity for me to learn Rust and Git usage at the same time, as well as prepare for internships and deepen the knowledge about compilers.
- Clone the repository
git clone https://github.com/norbertcygiert/AstraCompiler.git
cd AstraCompiler
- Build the project
cargo build
- Run the AstraScript (.astra) file
cargo run -- <filename>
For help use:
cargo run -- -h
- Lexer
- Parser
- Error reporting
- Variables
- Unary expressions
- Conditional statements
- "While" loops
- Introduce AstraScript
- Type checking
- Functions
- Full AstraScript language design
- Transpiler (?)