git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in

A native compiler backend for PureScript (via C++ or Golang)

git clone ssh://git.iko.soy/rowtype-yoga/purescript-native

PureScript

This is a platform-native compiler backend for PureScript. It attempts to generate "sane", debuggable, and portable C++11 (or later) or Go code as an intermediate language, which is then compiled to a native executable binary. This also enables easy interoperability with existing C/C++ or Go frameworks and libraries on a number of platforms.

There are two utilities in the purescript-native "suite": pscpp and psgo. The source code in this branch is for psgo, the purescript-to-Go transpiler. For the source code of the pscpp purescript-to-C++ transpiler, please see the cpp branch.

Platforms

Requirements for building pscpp and psgo

Requirements for using PureScript + purescript-native

For more information and a Getting Started guide, please see