source: trunk/yao/share/antlr-2.7.7/examples/java/IDL/Main.java @ 1

Last change on this file since 1 was 1, checked in by lnalod, 15 years ago

Initial import of YAO sources

File size: 352 bytes
Line 
1import java.io.*;
2import antlr.*;
3
4public class Main {
5  public static void main(String[] args) {
6    try {
7      IDLLexer lexer = new IDLLexer(new DataInputStream(System.in));
8      IDLParser parser = new IDLParser(lexer);
9      parser.specification();
10    } catch(Exception e) {
11      System.err.println("exception: "+e);
12    }
13  }
14}
15
Note: See TracBrowser for help on using the repository browser.