ES6 Lisp compiler
Simplified (i.e. "squished down") port of squint which fully accepts JavaScript semantics and attempts to emit plain ES6
I basically wanted to see if I could make Squint's output closer to normal JavaScript, but doing so presumably negates its appeal to Clojure developers. If you use this thinking it's like Clojure you'll be constantly bitten by 0
and ""
being falsy and whatnot, so it's more aimed towards developers who are used to JS, but for whatever reason want to write it using Clojure syntax.
node squish.js file.clj [options]
Only option currently is --format
, which will run the output through Prettier.