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 --help
to 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 pytest
to run the tests.poetry build
to build the package intodist
.- Now you can install the package from the
dist
dir.