Skip to content
This repository has been archived by the owner on Apr 29, 2020. It is now read-only.
/ spp Public archive

Stylistic formatting of Scheme statements.

Notifications You must be signed in to change notification settings

vondenstein/spp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scheme Pretty Printer in Java Build Status

About This Program

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.

Running Locally

Pre-compiled

  1. Navigate to the releases section of this repository and download the .jar file
  2. Run the jar file: java -jar SPP.jar

Compiling from source

  1. Clone locally via GitHub Desktop, or via CLI: git clone https://github.com/svondenstein/SchemePrettyPrinter.git
  2. Compile the source files in src/: javac *.java -- optionally javac -d ../out *.java to preserve a clean src directory
  3. Run Main: java Main

Usage

  1. Enter a valid Scheme statement via the command line.
  2. The program will output a 'pretty printed' Scheme statement which matches the inputted statement.

Licensing

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.