Skip to content

Update JSOO and adapt contributing docs #7218

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,13 +214,7 @@ This is usually the file you want to create to test certain compile behavior wit

The "Playground bundle" is a JS version of the ReScript compiler; including all necessary dependency files (stdlib / belt etc). It is useful for building tools where you want to compile and execute arbitrary ReScript code in the browser.

The ReScript source code is compiled with a tool called [JSOO (js_of_ocaml)](https://ocsigen.org/js_of_ocaml/4.0.0/manual/overview), which uses OCaml bytecode to compile to JavaScript and is part of the bigger OCaml ecosystem.

Install `jsoo` via `opam`:

```sh
opam install js_of_ocaml.4.0.0
```
The ReScript source code is compiled with a tool called [JSOO (js_of_ocaml)](https://ocsigen.org/js_of_ocaml/latest/manual/overview), which uses OCaml bytecode to compile to JavaScript and is part of the bigger OCaml ecosystem.

### Building the Bundle

Expand Down
2 changes: 1 addition & 1 deletion dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
(cppo
(= 1.6.9))
(js_of_ocaml
(= 5.8.1))
(= 5.9.1))
(ounit2
(= 2.2.7))
(reanalyze
Expand Down
2 changes: 1 addition & 1 deletion rescript.opam
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ depends: [
"yojson" {with-test & = "2.2.2"}
"ocaml-lsp-server" {with-dev-setup & = "1.19.0"}
"cppo" {= "1.6.9"}
"js_of_ocaml" {= "5.8.1"}
"js_of_ocaml" {= "5.9.1"}
"ounit2" {= "2.2.7"}
"reanalyze" {= "2.25.1"}
"dune"
Expand Down
Loading