You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: interpreter/README.md
+3-16
Original file line number
Diff line number
Diff line change
@@ -17,15 +17,14 @@ The text format defines modules in S-expression syntax. Moreover, it is generali
17
17
18
18
You'll need OCaml 4.12 or higher. Instructions for installing a recent version of OCaml on multiple platforms are available [here](https://ocaml.org/docs/install.html). On most platforms, the recommended way is through [OPAM](https://ocaml.org/docs/install.html#OPAM).
19
19
20
+
You'll also need to install the dune build system. See the [installation instructions](https://github.com/ocaml/dune#installation-1).
21
+
20
22
Once you have OCaml, simply do
21
23
22
24
```
23
25
make
24
26
```
25
-
You'll get an executable named `./wasm`. This is a byte code executable. If you want a (faster) native code executable, do
26
-
```
27
-
make opt
28
-
```
27
+
You'll get an executable named `./wasm`.
29
28
To run the test suite,
30
29
```
31
30
make test
@@ -34,12 +33,6 @@ To do everything:
34
33
```
35
34
make all
36
35
```
37
-
Before committing changes, you should do
38
-
```
39
-
make land
40
-
```
41
-
That builds `all`, plus updates `winmake.bat`.
42
-
43
36
44
37
#### Building on Windows
45
38
@@ -49,12 +42,6 @@ The instructions depend on how you [installed OCaml on Windows](https://ocaml.or
49
42
50
43
2.*Windows Subsystem for Linux* (WSL): You can build the interpreter using `make`, as described above.
51
44
52
-
3.*From source*: If you just want to build the interpreter and don't care about modifying it, you don't need to install the Cygwin core that comes with the installer. Just install OCaml itself and run
53
-
```
54
-
winmake.bat
55
-
```
56
-
in a Windows shell, which creates a program named `wasm`. Note that this will be a byte code executable only, i.e., somewhat slower.
57
-
58
45
In any way, in order to run the test suite you'll need to have Python installed. If you used Option 3, you can invoke the test runner `runtests.py` directly instead of doing it through `make`.
0 commit comments