ExC v0.4.2 API Reference

Modules

Connect the generated assembly code with the header.

Returns the assembly code generated given an input source code.

Generate the code that will be shown on the screen.

Handles all the strings generated in the compilation process.

Show errors generated by the output of Lexer.tokenize / 1 andParser.parse / 2 module methods.

Module that identifies the row and column inside the source code string of the fault token identified in the lexing process.

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.

Prints elements and errors on screen.

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.