Pygments lexer for the Nand2Tetris Hack Assembler
Project description
Pygments lexer for Nand2Tetris Hack Assembler language.
Part of the languages used/developed in the Building a Modern Computer from First Principles book.
Usage
The name of the lexer is hack_asm so you can call it from pygmentize like this:
pygmentize -l hack_asm -f html -O full test.asm
The recognize extension is .asm but it is as well used by many other lexers (like, you know, other assemblers), so I recommend passing directly the lexer name.
Installation
The lexer is available in PyPI, just install using pip:
pip install pygments-hackasm-lexer
And start using it.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for pygments-hackasm-lexer-0.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69d3276ae024014e47a595f328b33f1dec2c423581b19dc2ddd481eb6d7ae374 |
|
MD5 | 2e6954b618afa1843ff29a3c2d9ec86d |
|
BLAKE2b-256 | 9de95e33d0c6b7f90d3c7a2eba201566c2251d8e9381be981c9fdd784f055eac |