This is a Pretty Printer for Scheme implemented in Java. The program takes Scheme statements in via the command line and outputs 'pretty printed' Scheme statements.
- Navigate to the releases section of this repository and download the
.jar
file - Run the jar file:
java -jar SPP.jar
- Clone locally via GitHub Desktop, or via CLI:
git clone https://github.com/svondenstein/SchemePrettyPrinter.git
- Compile the source files in src/:
javac *.java
-- optionallyjavac -d ../out *.java
to preserve a cleansrc
directory - Run Main:
java Main
- Enter a valid Scheme statement via the command line.
- The program will output a 'pretty printed' Scheme statement which matches the inputted statement.
The code in the runtests file is not mine, it was written by the instructor of CSC 4101, Gerald Baumgartner. This is also true for all files in the tests/ and soln/ folders.