/* main program */ public static void Main() { try { String[] args = Environment.GetCommandLineArgs(); Io prog = new Io(args); Tok tok = new Tok(prog); Parse p = new Parse(prog, tok); p.program(); prog.Finish(); } catch (Exception e) { Console.WriteLine("Compiler aborting: "+e.ToString()); } }
/* main program */ public static void Main() { try { String[] args = Environment.GetCommandLineArgs(); Io prog = new Io(args); Tok tok = new Tok(prog); Parse p = new Parse(prog, tok); p.program(); prog.Finish(); } catch (Exception e) { Console.WriteLine("Compiler aborting: " + e.ToString()); } }
public Parse(Io i, Tok t) { io = i; tok = t; staticvar = new VarList(); // init the static variables list }
public Parse(Io i, Tok t) { io = i; tok = t; staticvar = new VarList(); // init the static variables list }