cljs-pprint icon indicating copy to clipboard operation
cljs-pprint copied to clipboard

porting clojure.pprint to clojurescript (pretty-printing)

cljs-pprint

NOTE: successfully merged into ClojureScript at version 0.0-3255.

CLJS needs a pretty printer - Clojure has two pretty-printers available, which are being ported to ClojureScript:

Overview

  • src/clj and test/clj has the original clojure pprint
  • src/cljs and test/cljs has the in-progress clojurescript pprint
  • src/parse parses aforementioned source directories to generate data for a comparison report
  • src/report page that displays a progress/comparison report and welcome page

See docs for more notes

Running the tests

Node.js must be installed.

lein cljsbuild once test

Running

# runs the parse tool
lein run

# runs report server at http://localhost:3449
rlwrap lein figwheel report

Report

See the progress report here:

report