Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 1.5 KB

README.markdown

File metadata and controls

27 lines (20 loc) · 1.5 KB

PureScript

A small strongly typed programming language with expressive types that compiles to Javascript, written in and inspired by Haskell.

An experimental Clojure backend for PureScript

Status

  • This is a quick, first-pass effort, so not much work has gone into it
  • Has been successfully run against a few tests from examples\passing

Requirements

Note that you must use branch clojure for each of these. Also note that they are based on the ongoing 0.8.x module overhaul, so some tests won't work. Any modules that do not require FFI can also be used (or at least tried).

Basic instructions

  • Build purescript itself in the usual way, but using code from this repo
  • Install Leiningen
  • Build your PureScript program source however you typically do, but use plc instead of psc, and make sure to use the versions of the standard modules mentioned above
  • cd to your output directory
  • Execute lein run to run your program, lein repl, or lein uberjar to AOT compile, etc. (normal Clojure stuff)