|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcoins.driver.Driver
coins.cfront.Cfront
coins.hir2c.Hir2C
A driver implementation using COINS Compiler Driver API. This is to produce C source from HIR structure.
| Field Summary |
| Fields inherited from class coins.cfront.Cfront |
fDbgLevel, hirRoot, in, ioRoot, sourceFile, spec, suffix, symRoot |
| Constructor Summary | |
Hir2C()
|
|
| Method Summary | |
void |
compile(java.io.File sourceFile,
java.io.InputStream in,
java.io.OutputStream out,
IoRoot pio)
Compiler. This compiler has five passes: C source to HIR-C, HIR-C to HIR-Base, Flow analysis on HIR, Optimization and Parallelization on HIR, HIR to C source. |
static void |
main(java.lang.String[] args)
A main function. Makes a compile specification from a command line. |
| Methods inherited from class coins.cfront.Cfront |
makeHirBaseFromC, makeHirCFromCSource, makeHirFromCSource |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Hir2C()
| Method Detail |
public void compile(java.io.File sourceFile,
java.io.InputStream in,
java.io.OutputStream out,
IoRoot pio)
throws java.io.IOException,
PassException
sourceFile - the source file name.in - input.out - output.
java.io.IOException
PassExceptionpublic static void main(java.lang.String[] args)
args - a command line.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||