The pretty printing library based on Anton Podkopaev and Dmitri Boulytchev "Polynomial-Time Optimal Pretty-Printing Combinators with Choice" paper.
Library written on Kotlin.
- 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.
- Run gradlew script (or gradlew.bat)
- In terminal: type
gradlew setupto configure idea-based files
gradlew test-- compile and run tests
gralew jar-- create .jar-file. You can find it in build/libs