/** Driver.java for lab 1 * We want to create top-down parsers for this grammar: * list -> int var tail * var -> id = num * tail -> , var tail | ; * where the tokens are "int" id num "," ";" "=". */ import java.io.IOException; public class Driver { public static void main(String [] args) throws IOException { Declaration d = new Declaration(); d.scan(); d.parseWithTable(); //d.parseRecursiveDescent(); } }