Exemple #1
0
		public static void Main(string[] args) {
			try {
				TinyCLexer lexer = new TinyCLexer(new CharBuffer(Console.In));
				MyCParser parser = new MyCParser(lexer);
				parser.program();
			} catch(Exception e) {
				Console.Error.WriteLine("exception: "+e);
			}
		}
Exemple #2
0
 public static void Main(string[] args)
 {
     try {
         TinyCLexer lexer  = new TinyCLexer(new CharBuffer(Console.In));
         MyCParser  parser = new MyCParser(lexer);
         parser.program();
     } catch (Exception e) {
         Console.Error.WriteLine("exception: " + e);
     }
 }