Package examples.expressions
Class RunExpressions
- java.lang.Object
-
- examples.RunTests
-
- examples.expressions.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.
-
-
-
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 testreps
- the number of repetitions of the parserout
- the output device
-
-