Add the following code to your project's shard.yml under:
to use in production
- OR -
development_dependencies to use in development
An assembler for the Hack virtual machine, as specified in the book The Elements of Computing Systems. I followed the machine specifications, but not the exact strategy laid out for implementation.
See also: https://nand2tetris.com
Clone & build:
$ git clone [etc] && cd hack-assembler $ shards build
This will compile an assembler CLI to
./bin/hasm which you can
put wherever you prefer.
Development has concluded. It's just project 6 of 11. :)