Implementation of small programming language based on LR(1) grammar parser using Rust and Lalrpop crate. Written for learning purposes.
Read the tutorial on dev-to:
- Part I: a bit of boring theory
- Part II: Variables and expressions
- Part III: Type System
- Part IV: Boolean expressions and if statements
cargo run -- -p test_programs/simple_calculator.lrlang
cargo test