Skip to main content

Pygments lexer for the Nand2Tetris Hack Assembler

Project description

https://badge.fury.io/py/pygments-hackasm-lexer.svg

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

pygments-hackasm-lexer-0.5.tar.gz (2.5 kB view details)

Uploaded Source

File details

Details for the file pygments-hackasm-lexer-0.5.tar.gz.

File metadata

File hashes

Hashes for pygments-hackasm-lexer-0.5.tar.gz
Algorithm Hash digest
SHA256 55984d6c5f603e27c3e4da1ffd5f1a076d6d28f344898acb5c3968b5f689ed50
MD5 ce9358d2dd6472e0e0f06e48973fe3aa
BLAKE2b-256 3d26501e2a3e66b883fbd26b22709f3c53f579f2b84586129671d5541fe78d52

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page