Catspeak Reference


parser

Responsible for the syntax analysis stage of the Catspeak compiler.

This stage uses CatspeakIRBuilder to create a hierarchical representation of your Catspeak programs, called an abstract syntax graph (or ASG for short). These graphs are encoded as a JSON object, making it possible for you to cache the result of parsing a mod to a file, instead of re-parsing each time the game loads.