Macro Creation#

These provide functions and classes that are required to build custom macros.

Tokens(tokens, filename)

A helper class that wraps around a list of tokens, providing common methods that might be needed for writing a recursive decent parser

TokenCase()

Used to check if a token matches specific details

MacroParser()

This is a base class for you to implement! You need to fill out all of the attached methods to make it work.

MacroTranslator()

This is the base class of your translator.

pyx