Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pygments-hackasm-lexer

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pygments-hackasm-lexer

Pygments lexer for the Nand2Tetris Hack Assembler

  • 0.5
  • PyPI
  • Socket score

Maintainers
1

Nand2Tetris Hack Assembler lexer

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

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.

.. _Pygments: http://pygments.org/ .. _Nand2Tetris Hack Assembler: http://www.nand2tetris.org/chapters/chapter%2004.pdf .. _Building a Modern Computer from First Principles: http://www.nand2tetris.org/`

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc