HackAssembler
A simple implementation of the HackAssembler to fulfill the requirements of project 6 in the Nand2Tetris part 1 course, written in rust.
Written to gain a deeper understanding of assemblers as well as a basic understanding of the rust syntax.
MacOS cargo 1.87.0 (99624be96 2025-05-06)
- Separate parsing logic into Parser struct
- Separate code interpretation into a code struct
- Improve the overall readability
- Improve the efficiency of the assembler
- Use more advanced features such as enums and pattern matching