Explore alternative PureScript backends
masterWhile psc defaults to a JavaScript backend, several alternative backends exist for targeting different runtimes. These are categorized by their maintenance status. Use the 'Actively Maintained' list for current development needs.
Actively Maintained Backends
| Target | Source Code | PureScript Version | Usability |
|---|---|---|---|
| C++11 or Go | purescript-native | 0.14.x | Passes all applicable tests in purescript/tests/purs/passing |
| Erlang | purerl | 0.15.14 | |
| C (Clang) | purec | ||
| Nix | purenix | 0.14.4 | |
| Lua | purescript-lua | 0.15.9 | Alpha |
Stale Backends
Note that the following projects are considered stale and may not support recent PureScript versions or be suitable for production use:
| Target | Source Code | PureScript Version |
|---|---|---|
| Lua | lua-purescript/purescript | 0.9.1.0 |
| Truffle (Graal) | truffled-purescript | 0.7.5.x |
| Lua | psc-lua | 0.5.x |
| Python | Purescript-to-Python | |
| Python | PyreScript | 0.9.1 |
| Haskell (GHC) | thran | 0.11.6 |
| Clojure (JVM) | purescript-clojure | |
| Kotlin | pskt | |
| Python >= 3.5 | purescript-python | 0.13.x |
| Datalog | psc-query | 0.11.7 |
| Swift | pureswift |