de.cau.cs.kieler.krep.compiler.main
Class Ec2klp
java.lang.Object
de.cau.cs.kieler.krep.compiler.main.Ec2klp
public final class Ec2klp
- extends Object
Compile Lustre ec-file to KLP assembler.
- Rating

- (2010-02-05) review by cmot, msp, tam
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Ec2klp
public Ec2klp()
compile
public String compile(String name,
InputStream ec,
boolean useClocks)
throws ParseException
- Parameters:
name
- name of the programec
- input stream with ec codeuseClocks
- true to compile for a KLP with hardware clocks
- Returns:
- klp code
- Throws:
ParseException
- thrown if anything goes wrong during compilation