Just finished going through “Writing An Interpreter In Go“. However instead of implementing the interpreter in Go, I decided to implement it in RUST. This was one of the most satisfying software projects that I worked on in a while. I must say that I just love RUST as a systems programming language.
The important RUST features that I used to get this project done are
- Enums as data types
- Box
- Rc
- RefCell
- Lots of recursion
RUST enables you to write the code in a declarative manner which makes the code really compact and easy to understand