Expand description

Stuff to work with Dmgrs assembly files.

Modules

Provides an easy to use lexer

The ROM header declares a bunch of stuff about the ROM.

Stuff that “lexes” source text into “lexemes”.

A multi-line comment is any amount of stuff between /* and */, nesting allowed.

The “parser” stage turns the stream of lexemes (from the lexer) into ab “abstract syntax tree”.

Repeated newlines are not needed, it’s better to handle them early.

Module with a very simple str caching implementation.

Functions

Generates a usize id value, used for sticking on the end of made up labels.