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.
clang
was usedgo
version 1.12.7 was usedclang
go
version 1.12.7clang
and gcc
go
clang
and gcc
pscpp
and psgo
A recent version (0.13+) of purescript.
For pscpp
, a C++11-capable toolchain, e.g. recent versions of clang, gcc, Microsoft Visual Studio
psc-package
is the default supported build tool, but you should be able to use your favorite package manager, C++ build system, tools, debuggers, etc.For psgo
, the Go toolchain for your system
spago
is recommended.RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4