git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
Update README.md
commit3174eebd2f968990eb3292707f45e80942f6a7b3 authorAndy Arvanitis <andyarvanitis@gmail.com> dateSat 11 Aug 2018, 10:39 (8 years ago) parenteb2b5bb
1 file changed+7−4
README.md+7−4
README.md+7−4
@@ -30,22 +30,25 @@ This is an experimental C++(11+)/native compiler backend for [PureScript](https:
3030* Nice facilities (modules) for concurrency/parallelism, using `std::thread`, `std::async`, etc. under the hood (output is already generally thread-safe for immutable values, thanks to `std::shared_ptr`)
3131* `BigInt` via GNU GMP (or an alternative)
3232
33−#### Requirements
33+#### Requirements for building the compiler itself
3434
3535* [Haskell Stack](https://docs.haskellstack.org/en/stable/README/) (if you're running macOS 10.13+, you can use pre-built binaries from [here](https://github.com/andyarvanitis/purescript-native/releases/))
36+
37+#### Requirements for using it
38+
39+* A recent version (0.12+) of [purescript](https://github.com/purescript/purescript/releases).
40+
3641* A C++11-capable toolchain, e.g. recent versions of clang, gcc, Microsoft Visual Studio 2015
3742* GNU Make is the default supported build tool, but you should be able to use your favorite C++ build system, tools, debuggers, etc.
3843
3944#### Getting Started
4045This assumes you are running OS X or a Unix-like system (Linux, *BSD, etc.).
4146
42−If you're running macOS 10.13+ (High Sierra or later), you can avoid building it yourself by using these [pre-built snapshot binaries](https://github.com/andyarvanitis/purescript-native/releases/), but make sure you've installed a recent version of [purescript](https://github.com/purescript/purescript/releases) first.
43−
44471. Make sure you have developer tools for your system installed. For OS X, you'll need a recent version of Xcode. For Linux, etc., you need gcc 4.9.2 or later, including g++ support. You can also use clang 3.5 or later, but it still requires gcc for its C++ standard libraries.
4548
46492. Create a working directory wherever you like, and a `src` subdirectory under it, which will be where you will place your own PureScript source files.
4750
48−3. Under your working directory, also create an `ffi` subdirectory, which will be where you will place your own C/C++ FFI source files.
51+3. Under your working directory, also create an `ffi` subdirectory, which will be where you will place C/C++ FFI source files.
4952
50534. Copy this [`Makefile`](https://github.com/andyarvanitis/purescript-native/blob/native-dump-corefn/support/Makefile) into your working directory.
5154