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.
Release files for pygments-hackasm-lexer 0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pygments-hackasm-lexer-0.5.tar.gz | 2.5 kB | Details |
Release files / pygments-hackasm-lexer-0.5.tar.gz
| Download URL | pygments-hackasm-lexer-0.5.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
55984d6c5f603e27c3e4da1ffd5f1a076d6d28f344898acb5c3968b5f689ed50
|
|
BLAKE2b-256 checksum How to use checksums |
3d26501e2a3e66b883fbd26b22709f3c53f579f2b84586129671d5541fe78d52
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |