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: docs/Syntax.md
+7-2Lines changed: 7 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,14 +22,19 @@ Required:
22
22
- OCaml 4.10 or later
23
23
- OS: macOS, Linux or Windows
24
24
25
-
The syntax source code is located in the directory `res_syntax`. All following commands are meant to be executed in that directory.
25
+
In the root of the rescript-compiler repo, run
26
26
27
27
```sh
28
28
opam install . --deps-only --with-test
29
+
```
30
+
31
+
To build the syntax sources, run
32
+
33
+
```sh
29
34
make # or "dune build"
30
35
```
31
36
32
-
This will produce the three binaries `rescript`, `tests` and `bench` (with `.exe` extension on Windows).
37
+
This will produce the three binaries `res_parser`, `syntax_tests` and `syntax_benchmarks` (with `.exe` extension on Windows).
33
38
34
39
We only build production binaries, even in dev mode. No need for a separate dev binary when the build is fast enough. Plus, this encourages proper benchmarking of the (production) binary each diff.
0 commit comments