/hack-vm-translator

A VM Translator written in C# for the nand2Tetris course

Primary LanguageC#

Hack VM Translator

This is part of the project assignments in the Nand2Tetris course.

Requirements

.NET 5

Usage

Build the project

dotnet build --output build

cd into the build dir and execute

./VMTranslator Foo.vm

Running the above command creates a file in the same directory as Foo.vm named Foo.asm.

What else?

The Makefile is supplied as a requirement to the autograder. If you choose to run it, you'll have to clean up after it. Or push a PR with a clean target. Pull requests are welcome :)

License

WTFPL