Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

If you omit the new File(...) construction in the argument to Parser and use "<fileName>" instead, you will create a Parser for the String "<fileName>". which is interpreted as a simple boolean variable. The File input format is important because it enables us to conveniently apply your simplifier to formulas that are thousands of symbols long. As a result, you only have to translate the Scheme code in boolsimp.ss into corresponding cleanly-written OO Java code by filling in the gaps in our Java stub file boolSimp.dj1. You are expected to
appropriately use the composite, interpreter, singleton, and visitor patterns in the code that you write. Since the only stub files that you have to modify are boolSimp.dj1 and boolSimpTest.java, simply submit expanded
versions of these files via OwlSpace to submit your assignment. Warning: we will run your program on large
inputs to determine if you wrote the code correctly. Try using the large test files provided on the course wiki.

...