Catspeak Reference


ir

Exposes an interface for building and optimising the hierarchial representation of Catspeak programs, commonly referred to in this documentation as "Catspeak IR". It represents the code of a Catspeak program without any unnecessary detail, like whitespace or syntax.

Everything in Catspeak IR is an expression which can return a result.

Mostly used internally by CatspeakParser, but could be used yourself to build your own programs from your own domain-specific language and then compile it down further to be a callable GML function using CatspeakGMLCompiler.