Hack Assembler
Converts assembly code for the Hack machine built during the nand2tetris exercises.
Installation
Add this line to your application's Gemfile:
gem 'hack_assembler'
And then execute:
$ bundle
Or install it yourself as:
$ gem install hack_assembler
Usage
After installing the Gem you can run this command from your terminal:
hack_assembler <input-file.asm> <output-file.hack>
TO DOs
- Refactor code and tests
- Add better error reporting
- Make sure any valid symbol name is recognized
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request