An exercise in learning Rust programming language along with learning how to write a programming language by writing Krusty, an interpretted programming language written in Rust. 😁
P.S. Still too many bugs, but making it public anyway
- First install Rust, duh
- Clone this repository
- Run it with
cargo run
Krusty program files should use .krt
extension.
Checkout example Krusty programs in the test_code
folder. Run them with cargo run <path/to/program>
Save the file as test.krt
and run with cargo run test.krt
Install VSCode extension for Krusty syntax support at vscode-krusty