ExC v0.2.0 API Reference

Modules

Returns the assembly code generated given an input source code.

ExC

Main entry point that handles all the compiling process.

Filters the outputs of Lexer.tokenize/1 and Parser.parse/2.

Travels through an Abstract Syntax Tree.

Generates the assembly output file.

Breaks the source code string (SCS) into an output list of tokens (OTL).

Parses the Output Token List (OTL) from Lexer.tokenize/1 into an Output Abstract Syntax Tree (OAST).

Reads all the files the compiler needs.

Defines a Node that represents a grammar production rule in the target programming language.

Defines a Token that represents a valid, or invalid, token in the target programming language.

Writes the target language code (assembly x86 64 bit) file to the current working directory.