The pretty printing library based on Anton Podkopaev and Dmitri Boulytchev "Polynomial-Time Optimal Pretty-Printing Combinators with Choice" paper.
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 10 commits behind prettyPrinting:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.idea
META-INF
gradle/wrapper
src/org/jetbrains/format
tests/org/jetbrains/format
.gitignore
.travis.yml
README.md
build.gradle
gradlew
gradlew.bat

README.md

format Build Status

The pretty printing library based on Anton Podkopaev and Dmitri Boulytchev "Polynomial-Time Optimal Pretty-Printing Combinators with Choice" paper.
Library written on Kotlin.

Build instruction:

  • Install Gradle
  • Add Gradle installation path to System Variables/Path (Windows. May also be needed for other OSs)
  • Add JDK Installation path ("JAVA_HOME") to Environment Variables (Windows). More about
  • Run Gradle script: for example, run Windows command prompt and type any of the followings:
    • gradle setup — will configure all required dependencies, .iml-file and project SDK for IntelliJ IDEA
    • gradle test — compile and run tests
    • gradle tasks — more gradle tasks (such as build, jar). You can find .jar in build/libs folder.

OR

  1. Run gradlew script (or gradlew.bat)
  2. In terminal: type
    • gradlew setup to configure idea-based files
    • gradlew test -- compile and run tests
    • gralew jar -- create .jar-file. You can find it in build/libs