next up previous
Next: User-Defined Phases Up: The C-Breeze Compiler Infrastructure Previous: Introduction


The Basics of C-Breeze

Like most compilers, C-Breeze is organized as a series of phases. These can invoked programmatically from within another phase, or they can be invoked by specifying a command line flag to C-Breeze. Phases are executed in the order specified on the command line. For example, the following line will invoke the cfg phase to dismantle the AST and create a CFG, and then invoke the c-code phase to emit C code as output.

        cbz -cfg -c-code

Here and throughout this document, cbz refers to the name of the executable compiler. The one phase that is implicitly invoked before all other phases is the parser.



Subsections

Adam C. Brown 2006-01-26