Last change
on this file since 1 was
1,
checked in by lnalod, 15 years ago
|
Initial import of YAO sources
|
File size:
351 bytes
|
Line | |
---|
1 | namespace Test |
---|
2 | { |
---|
3 | using System; |
---|
4 | using System.IO; |
---|
5 | using antlr; |
---|
6 | |
---|
7 | class main { |
---|
8 | public static void Main(string[] args) { |
---|
9 | try { |
---|
10 | TinyCLexer lexer = new TinyCLexer(new CharBuffer(Console.In)); |
---|
11 | MyCParser parser = new MyCParser(lexer); |
---|
12 | parser.program(); |
---|
13 | } catch(Exception e) { |
---|
14 | Console.Error.WriteLine("exception: "+e); |
---|
15 | } |
---|
16 | } |
---|
17 | } |
---|
18 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.