Parse.java 436 B

1234567891011121314151617
  1. import java.util.*;
  2. import java.io.*;
  3. public class Parse extends ProcessFiles {
  4. // Parse the program and call $ok() on the resulting parse tree
  5. public void action(Scan scn, Trace trace) {
  6. _Start.parse(scn, trace).$ok();
  7. }
  8. // Read programs from command-line files
  9. // and then read programs from standard input.
  10. public static void main(String [] args) {
  11. new Parse().processFiles(args);
  12. }
  13. }