Class RunExpressions


  • public class RunExpressions
    extends RunTests
    Uses the the Expressions grammar (4.2) from Aho, Lam, Sethi and Ullman, 2nd ed. (the Dragon Book) for a comparison of timing and node hits between the normal CFG grammar and the use of UDT functions.
    • Constructor Summary

      Constructors 
      Constructor Description
      RunExpressions​(java.lang.String testName, int reps, java.io.PrintStream out)
      Constructor for the test.
    • Method Summary

      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RunExpressions

        public RunExpressions​(java.lang.String testName,
                              int reps,
                              java.io.PrintStream out)
        Constructor for the test. Parameters are supplied explicitly or by default from the command line to the driver function.
        Parameters:
        testName - the name of the test
        reps - the number of repetitions of the parser
        out - the output device