ASM Assembler for the "Hack" Architecture from Nand2Tetris
- Download the wheel file from the latest release.
- Install using pip (preferably in a separate virtual environment). You can use pipx to easily install the wheel file in a separate env, and expose the cli command.
- Have fun using
pyasm. Runpyasm --helpto check the commands and related options.
- Install poetry from https://python-poetry.org.
- Clone this repo and cd into it.
- Run poetry install to create the virtualenv and install the packages.
poetry run pytestto run the tests.poetry buildto build the package intodist.- Now you can install the package from the
distdir.