ExC v0.2.0 CodeGenerator View Source

Returns the assembly code generated given an input source code.

Link to this section Summary

Functions

Returns a string of the assembly code generated given a source code.

Link to this section Functions

Link to this function

generate_code(abstract_syntax_tree, verbose)

View Source

Returns a string of the assembly code generated given a source code.

Specs

abstract_syntax_tree : abstract sytnax tree generated by the Parser.parse/2.

verbose a boolean value indicating if the compiler should output all of its steps.