Skip to main content
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.

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
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

Release history Release notifications | RSS feed

This release

0.5 This release

1 release file

0.4

1 release file

0.3

1 release file

0.2

1 release file

0.1

1 release file

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