Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
PureScript in the browser
Haskell JavaScript PureScript CSS
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
assets
examples
.gitignore
LICENSE
Main.hs
README.md
Setup.hs Initial commit
trypurescript.cabal

README.md

trypurescript

Very basic browser-based interface to the PureScript compiler.

API

Compile PureScript code

POST /compile/text

  • Request body: PureScript code
  • Response body: Either { js: "..." } or { error: "..." }
  • Status code: 200 (success)

The response does not use error codes, to make it easier to use the API from another domain using CORS.

Something went wrong with that request. Please try again.