nandtotetris / computer-visualizer

0 stars 0 forks source link

Implement the code writer module for the HVM Translator #34

Closed mezzzi closed 3 years ago

mezzzi commented 4 years ago

In our basic computer, a high level language (Jack) is first compiled to an intermediate language that runs on a virtual machine. This issue focuses on building the code writer module for the hvm-translator abstraction; the abstraction which translates the hack virtual machine (HVM) intermediate language to an assembly code.

For more description, refer here: https://www.nand2tetris.org/course (Project 7 and 8)

Expected Behavior

There will be available a code writer module that can translate a hack virtual machine (HVM) program into a hack assembly language, using the parser module of the HVMTranslator.

Current Behavior

There is no code writer module for the HVM Translator

Possible Solution

Implement the code writer module by reading chapter 7 and 8 of the Nan2Tetris book.

mezzzi commented 3 years ago

I am going to tackle the hvm-translator abstraction in one issue (we need to move fast)