Global

Members

constant Tokens

Tokens object: definitions

Methods

buildNestedApplies(parentExp, applies) → {Array}

A function that builds nested applies
Parameters:
Name Type Description
parentExp Array The parent expression to be built
applies Array The applies to be built
Returns:
Array - The nested applies

buildNumberValue(token) → {Object}

A function that builds a number value
Parameters:
Name Type Description
token Token The token to be built
Returns:
Object - The number value

buildStringValue(token) → {Object}

A function that builds a string value
Parameters:
Name Type Description
token Token The token to be built
Returns:
Object - The string value

buildWordApplies(word, applies) → {Object}

A function that builds a word applies
Parameters:
Name Type Description
word Array The word to be built
applies Array The applies to be built
Returns:
Object - The word applies

compile(origin, destination)

A function that compiles a eggc file
Parameters:
Name Type Description
origin string The name of the origin file
destination string The name of the destination file
Throws:
Will throw if there are errors in the program or if the files can't be opened