source:
trunk/yao/share/antlr-2.7.7/examples/java/parseBinary/Main.java
@
1
Last change on this file since 1 was 1, checked in by lnalod, 15 years ago | |
---|---|
File size: 289 bytes |
Line | |
---|---|
1 | import java.io.*; |
2 | |
3 | class Main { |
4 | public static void main(String[] args) { |
5 | try { |
6 | DataLexer lexer = new DataLexer(new DataInputStream(System.in)); |
7 | DataParser parser = new DataParser(lexer); |
8 | parser.file(); |
9 | } catch(Exception e) { |
10 | System.err.println("exception: "+e); |
11 | } |
12 | } |
13 | } |
14 |
Note: See TracBrowser
for help on using the repository browser.