git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
Update README.md
3174eebAndy Arvanitis
README.md+7−4
@@ -30,22 +30,25 @@ This is an experimental C++(11+)/native compiler backend for [PureScript](https:
30* 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`)
30* 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`)
31* `BigInt` via GNU GMP (or an alternative)
31* `BigInt` via GNU GMP (or an alternative)
32
32
33−#### Requirements
33+#### Requirements for building the compiler itself
34
34
35* [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/))
35* [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+
36* A C++11-capable toolchain, e.g. recent versions of clang, gcc, Microsoft Visual Studio 2015
41* A C++11-capable toolchain, e.g. recent versions of clang, gcc, Microsoft Visual Studio 2015
37* GNU Make is the default supported build tool, but you should be able to use your favorite C++ build system, tools, debuggers, etc.
42* GNU Make is the default supported build tool, but you should be able to use your favorite C++ build system, tools, debuggers, etc.
38
43
39#### Getting Started
44#### Getting Started
40This assumes you are running OS X or a Unix-like system (Linux, *BSD, etc.).
45This assumes you are running OS X or a Unix-like system (Linux, *BSD, etc.).
41
46
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−
441. 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.
471. 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.
45
48
462. 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.
492. 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.
47
50
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.
49
52
504. Copy this [`Makefile`](https://github.com/andyarvanitis/purescript-native/blob/native-dump-corefn/support/Makefile) into your working directory.
534. Copy this [`Makefile`](https://github.com/andyarvanitis/purescript-native/blob/native-dump-corefn/support/Makefile) into your working directory.
51
54