tests
Class ParserTestDriver

java.lang.Object
  extended by tests.ParserTestDriver

public class ParserTestDriver
extends java.lang.Object

Repeatedly prompts the user for expressions to parse and evaluate. This style of interaction is called the read-eval-print loop and forms the basis of most interactive programming environments. Note: this code has an error in it.

Author:
former student solution, Robert C. Duvall (added comments, constants), Sara Sprenkle - modified for testing purposes

Field Summary
static java.lang.String EXIT_COMMAND
           
static java.lang.String PROMPT
           
 
Constructor Summary
ParserTestDriver()
           
 
Method Summary
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EXIT_COMMAND

public static final java.lang.String EXIT_COMMAND
See Also:
Constant Field Values

PROMPT

public static final java.lang.String PROMPT
See Also:
Constant Field Values
Constructor Detail

ParserTestDriver

public ParserTestDriver()
Method Detail

main

public static void main(java.lang.String[] args)