Skip to content

Assemblers, Translators, Compilers, for the nand2tetris system

License

Notifications You must be signed in to change notification settings

tuzmusic/HackManager

Repository files navigation

Hack Programming Tools

Various translators for the Hack Platform from nand2Tetris.

Prerequisites

Node.js

Assembler

Translates a file containing hack assembly code (.asm) to binary commands executable on the Hack computer, (.hack).

npm run assembler path/to/assemblyFile.asm

VM Translator

Translates a file or folder containing VM code (.vm) to hack assembly code (.asm).

npm run translator path/to/vmFile.vm