Skip to main content

Nand2Tetris Hack Assembler lexer

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.

Metadata

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)

Source distribution for pygments-hackasm-lexer 0.5
File Size Uploaded Provenance Actions
pygments-hackasm-lexer-0.5.tar.gz 2.5 kB Without provenance Details for pygments-hackasm-lexer-0.5.tar.gz

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

Security for pygments-hackasm-lexer 0.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page