| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmarf.nlp.Parsing.Compiler
public class Compiler
General Compiler Class. This class instantiates the parser with the given command-line arguments and invokes it then. Afterwards, it collects the results of lexical and syntax analysis and outputs them out.
TODO: complete review.(C) 2001 - 2008 Serguei Mokhov, mokhov@cs.concordia.ca
$Id: Compiler.java,v 1.17 2008/01/03 03:21:57 mokhov Exp $
| Field Summary | |
|---|---|
protected  Parser | 
oParser
Instance of our parser.  | 
| Constructor Summary | |
|---|---|
Compiler()
Default compiler.  | 
|
| Method Summary | |
|---|---|
 void | 
compile(java.lang.String[] argv)
Main compilation method.  | 
static java.lang.String | 
getMARFSourceCodeRevision()
Retrieves class' revision.  | 
static void | 
main(java.lang.String[] argv)
Main Function.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
protected Parser oParser
| Constructor Detail | 
|---|
public Compiler()
| Method Detail | 
|---|
public void compile(java.lang.String[] argv)
             throws CompilerError
argv - command-line arguments
CompilerError - in case of any lexical, syntax, semantic, or otherwise errorspublic static final void main(java.lang.String[] argv)
argv - command-line argumentspublic static java.lang.String getMARFSourceCodeRevision()
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||