addMacroBody

fun addMacroBody(    methodName: A_Atom,     macroBody: A_Function,     prefixFunctions: A_Tuple,     ignoreSeals: Boolean)

Add the macro definition. The precedence rules can not change after the first definition is encountered, so set them to 'no restrictions' if they're not set already.

Parameters

methodName

The macro's name, an atom.

macroBody

A function that transforms phrases.

prefixFunctions

The tuple of functions to run during macro parsing, corresponding with occurrences of section checkpoints ("§") in the macro name.

Throws

If the macro signature is malformed.

If the macro signature is invalid.