Metadata-Version: 2.4
Name: tree-sitter-masl
Version: 0.2.0
Summary: MASL is an educational assembly language that is not supposed to be used for interactive exercises and games.
Author-email: "Christoph J. Scherr" <software@cscherr.de>
License: GPL-3.0-or-later
Project-URL: Homepage, https://git.cscherr.de/pelagic-games/tree-sitter-masl
Project-URL: Funding, https://example.com
Keywords: incremental,parsing,tree-sitter,masl
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Compilers
Classifier: Topic :: Text Processing :: Linguistic
Classifier: Typing :: Typed
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Provides-Extra: core
Requires-Dist: tree-sitter~=0.24; extra == "core"

# Treesitter grammar for MASM

![Crates.io Version](https://img.shields.io/crates/v/tree-sitter-masl)
![Crates.io License](https://img.shields.io/crates/l/tree-sitter-masl)

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](https://git.cscherr.de/pelagic-games/MASL).

Here is how it looks:

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