Skip to main content

Treesitter grammar for MASM

Crates.io Version Crates.io License

MASM is an educational assembly language and this is its fancy grammar parser generater and highlighting stuff.

If you have no idea what MASM is, please take a look at the language itself over HERE.

Here is how it looks:

	mov 0xff p0 ; lamp out

start:
	cmp dat 1337
	jge end
	mov 19 acc ; foo
	add 5
	cmp 24 acc
	je good # expected
	jne bad ; something went wrong, stop everything


good: mov 19 acc
	inc dat ; increment the success count
	jmp start

end: mov 0xff p0 ; enable the lamp, then halt
bad: hlt

Release files for tree-sitter-masl 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tree-sitter-masl 0.4.0
File Size Uploaded
tree_sitter_masl-0.4.0.tar.gz 18.2 kB Details

Release files / tree_sitter_masl-0.4.0.tar.gz

Download URL tree_sitter_masl-0.4.0.tar.gz
Size 18.2 kB
Tags Source
SHA-256 checksum
How to use checksums
24138abefb56a508bbf9f815abe1a7563356c18540e6f6a05926c9cb375d0a91
BLAKE2b-256 checksum
How to use checksums
483b7eee9091739e7066e58adbdc06432200dfc56cf3aefaa1b866c11ec5826a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.5

Release history Release notifications | RSS feed

This release

0.4.0 This release

1 release file

0.3.0

1 release file

0.2.0

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