@grain/binaryen.ml 0.33.0 → 0.35.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. binaryen-archive/CHANGELOG.md +30 -0
  2. binaryen-archive/binaryen.opam +2 -2
  3. binaryen-archive/esy.lock/index.json +392 -293
  4. binaryen-archive/esy.lock/opam/base.v0.17.3/opam +4 -2
  5. binaryen-archive/esy.lock/opam/{chrome-trace.3.20.2 → chrome-trace.3.21.1}/opam +5 -5
  6. binaryen-archive/esy.lock/opam/{dune-build-info.3.20.2 → dune-build-info.3.21.1}/opam +5 -5
  7. binaryen-archive/esy.lock/opam/{dune-configurator.3.20.2 → dune-configurator.3.21.1}/opam +5 -5
  8. binaryen-archive/esy.lock/opam/{dune-rpc.3.20.2 → dune-rpc.3.21.1}/opam +5 -5
  9. binaryen-archive/esy.lock/opam/{dune.3.20.2 → dune.3.21.1}/opam +6 -5
  10. binaryen-archive/esy.lock/opam/{dyn.3.20.2 → dyn.3.21.1}/opam +6 -6
  11. binaryen-archive/esy.lock/opam/fs-io.3.21.1/opam +41 -0
  12. binaryen-archive/esy.lock/opam/{menhir.20250912 → menhir.20260209}/opam +6 -4
  13. binaryen-archive/esy.lock/opam/{menhirCST.20250912 → menhirCST.20260209}/opam +4 -3
  14. binaryen-archive/esy.lock/opam/menhirGLR.20260209/opam +30 -0
  15. binaryen-archive/esy.lock/opam/{menhirLib.20250912 → menhirLib.20260209}/opam +5 -4
  16. binaryen-archive/esy.lock/opam/{menhirSdk.20250912 → menhirSdk.20260209}/opam +5 -4
  17. binaryen-archive/esy.lock/opam/ocaml_intrinsics_kernel.v0.17.1/opam +2 -0
  18. binaryen-archive/esy.lock/opam/{ocamlc-loc.3.20.2 → ocamlc-loc.3.21.1}/opam +6 -6
  19. binaryen-archive/esy.lock/opam/ocamlfind.1.9.8/opam +1 -1
  20. binaryen-archive/esy.lock/opam/{ordering.3.20.2 → ordering.3.21.1}/opam +6 -6
  21. binaryen-archive/esy.lock/opam/ppx_yojson_conv_lib.v0.17.0/opam +2 -0
  22. binaryen-archive/esy.lock/opam/sexplib0.v0.17.0/opam +2 -0
  23. binaryen-archive/esy.lock/opam/stdio.v0.17.0/opam +3 -1
  24. binaryen-archive/esy.lock/opam/{stdune.3.20.2 → stdune.3.21.1}/opam +9 -7
  25. binaryen-archive/esy.lock/opam/top-closure.3.21.1/opam +40 -0
  26. binaryen-archive/esy.lock/opam/{xdg.3.20.2 → xdg.3.21.1}/opam +5 -5
  27. binaryen-archive/package.json +2 -2
  28. binaryen-archive/src/dune +2 -0
  29. binaryen-archive/src/export.c +10 -0
  30. binaryen-archive/src/export.js +13 -0
  31. binaryen-archive/src/export.ml +4 -0
  32. binaryen-archive/src/export.mli +1 -0
  33. binaryen-archive/src/expression.c +291 -0
  34. binaryen-archive/src/expression.js +182 -0
  35. binaryen-archive/src/expression.ml +118 -0
  36. binaryen-archive/src/expression.mli +87 -0
  37. binaryen-archive/src/function.c +8 -0
  38. binaryen-archive/src/function.js +5 -0
  39. binaryen-archive/src/function.ml +1 -0
  40. binaryen-archive/src/function.mli +1 -0
  41. binaryen-archive/src/import.c +32 -0
  42. binaryen-archive/src/import.js +47 -0
  43. binaryen-archive/src/import.ml +12 -0
  44. binaryen-archive/src/import.mli +5 -0
  45. binaryen-archive/src/module.js +2 -2
  46. binaryen-archive/src/ocaml_helpers.c +8 -0
  47. binaryen-archive/src/ocaml_helpers.h +4 -0
  48. binaryen-archive/src/passes.ml +95 -21
  49. binaryen-archive/src/passes.mli +91 -21
  50. binaryen-archive/src/tag.c +61 -0
  51. binaryen-archive/src/tag.js +43 -0
  52. binaryen-archive/src/tag.ml +11 -0
  53. binaryen-archive/src/tag.mli +8 -0
  54. binaryen-archive/src/type.js +4 -7
  55. binaryen-archive/test/test.expected +158 -31
  56. binaryen-archive/test/test.ml +95 -2
@@ -11,8 +11,8 @@ build: [
11
11
  ]
12
12
  depends: [
13
13
  "ocaml" {>= "5.1.0"}
14
- "ocaml_intrinsics_kernel" {>= "v0.17.0" & < "v0.18.0"}
15
- "sexplib0" {>= "v0.17.0" & < "v0.18.0"}
14
+ "ocaml_intrinsics_kernel" {>= "v0.17.0" & < "v0.18~"}
15
+ "sexplib0" {>= "v0.17.0" & < "v0.18~"}
16
16
  "dune" {>= "3.11.0"}
17
17
  "dune-configurator"
18
18
  ]
@@ -39,3 +39,5 @@ url {
39
39
  "sha512=628610caff7e124631870fa1e29661caac28bdfdb18750ee43b868037da3d65d6dd9023b4be7c4c52405679efb5e865a6632d95606a22b28a36636a6bf706ef3"
40
40
  ]
41
41
  }
42
+ x-maintenance-intent: ["(latest)"]
43
+
@@ -9,7 +9,7 @@ homepage: "https://github.com/ocaml/dune"
9
9
  doc: "https://dune.readthedocs.io/"
10
10
  bug-reports: "https://github.com/ocaml/dune/issues"
11
11
  depends: [
12
- "dune" {>= "3.20"}
12
+ "dune" {>= "3.21"}
13
13
  "ocaml" {>= "4.08.0"}
14
14
  "odoc" {with-doc}
15
15
  ]
@@ -32,10 +32,10 @@ build: [
32
32
  ]
33
33
  url {
34
34
  src:
35
- "https://github.com/ocaml/dune/releases/download/3.20.2/dune-3.20.2.tbz"
35
+ "https://github.com/ocaml/dune/releases/download/3.21.1/dune-3.21.1.tbz"
36
36
  checksum: [
37
- "sha256=b1a86b2d60bdb4a8b9bb6861bdf2f9f28a6e7cb5d833ce81afecceb9ef9ca549"
38
- "sha512=ed14df9163e487d4ae7d0a2427eaab7823ef1f0ef2d93f0b783e6f163bbd5b44ba73f055d60b84e76f476fe11d38e794013628a1da776d9ec13cca9666e7b7ff"
37
+ "sha256=84f7a82c6d80a7124f3847e9a489e80cfbeafb7bed3573ac01286ef56fd08d94"
38
+ "sha512=d9fa44e24036d2593adfe59e52e0ad64f3e7e973d23f84af57fc79e38fa210630b0cb55590f314d6ef455333b96a8e0ce188c2720eaae44576222541ba78efb3"
39
39
  ]
40
40
  }
41
- x-commit-hash: "1e54fd3f450aae7fb41ffb6b7c8b7a5aed754777"
41
+ x-commit-hash: "0b5863d9be475453b3cc2bd321fde222af2544d4"
@@ -15,7 +15,7 @@ homepage: "https://github.com/ocaml/dune"
15
15
  doc: "https://dune.readthedocs.io/"
16
16
  bug-reports: "https://github.com/ocaml/dune/issues"
17
17
  depends: [
18
- "dune" {>= "3.20"}
18
+ "dune" {>= "3.21"}
19
19
  "ocaml" {>= "4.08"}
20
20
  "odoc" {with-doc}
21
21
  ]
@@ -38,10 +38,10 @@ build: [
38
38
  ]
39
39
  url {
40
40
  src:
41
- "https://github.com/ocaml/dune/releases/download/3.20.2/dune-3.20.2.tbz"
41
+ "https://github.com/ocaml/dune/releases/download/3.21.1/dune-3.21.1.tbz"
42
42
  checksum: [
43
- "sha256=b1a86b2d60bdb4a8b9bb6861bdf2f9f28a6e7cb5d833ce81afecceb9ef9ca549"
44
- "sha512=ed14df9163e487d4ae7d0a2427eaab7823ef1f0ef2d93f0b783e6f163bbd5b44ba73f055d60b84e76f476fe11d38e794013628a1da776d9ec13cca9666e7b7ff"
43
+ "sha256=84f7a82c6d80a7124f3847e9a489e80cfbeafb7bed3573ac01286ef56fd08d94"
44
+ "sha512=d9fa44e24036d2593adfe59e52e0ad64f3e7e973d23f84af57fc79e38fa210630b0cb55590f314d6ef455333b96a8e0ce188c2720eaae44576222541ba78efb3"
45
45
  ]
46
46
  }
47
- x-commit-hash: "1e54fd3f450aae7fb41ffb6b7c8b7a5aed754777"
47
+ x-commit-hash: "0b5863d9be475453b3cc2bd321fde222af2544d4"
@@ -17,7 +17,7 @@ homepage: "https://github.com/ocaml/dune"
17
17
  doc: "https://dune.readthedocs.io/"
18
18
  bug-reports: "https://github.com/ocaml/dune/issues"
19
19
  depends: [
20
- "dune" {>= "3.20"}
20
+ "dune" {>= "3.21"}
21
21
  "ocaml" {>= "4.08.0"}
22
22
  "base-unix"
23
23
  "csexp" {>= "1.5.0"}
@@ -42,10 +42,10 @@ build: [
42
42
  ]
43
43
  url {
44
44
  src:
45
- "https://github.com/ocaml/dune/releases/download/3.20.2/dune-3.20.2.tbz"
45
+ "https://github.com/ocaml/dune/releases/download/3.21.1/dune-3.21.1.tbz"
46
46
  checksum: [
47
- "sha256=b1a86b2d60bdb4a8b9bb6861bdf2f9f28a6e7cb5d833ce81afecceb9ef9ca549"
48
- "sha512=ed14df9163e487d4ae7d0a2427eaab7823ef1f0ef2d93f0b783e6f163bbd5b44ba73f055d60b84e76f476fe11d38e794013628a1da776d9ec13cca9666e7b7ff"
47
+ "sha256=84f7a82c6d80a7124f3847e9a489e80cfbeafb7bed3573ac01286ef56fd08d94"
48
+ "sha512=d9fa44e24036d2593adfe59e52e0ad64f3e7e973d23f84af57fc79e38fa210630b0cb55590f314d6ef455333b96a8e0ce188c2720eaae44576222541ba78efb3"
49
49
  ]
50
50
  }
51
- x-commit-hash: "1e54fd3f450aae7fb41ffb6b7c8b7a5aed754777"
51
+ x-commit-hash: "0b5863d9be475453b3cc2bd321fde222af2544d4"
@@ -8,7 +8,7 @@ homepage: "https://github.com/ocaml/dune"
8
8
  doc: "https://dune.readthedocs.io/"
9
9
  bug-reports: "https://github.com/ocaml/dune/issues"
10
10
  depends: [
11
- "dune" {>= "3.20"}
11
+ "dune" {>= "3.21"}
12
12
  "ocamlc-loc"
13
13
  "csexp"
14
14
  "ordering"
@@ -37,10 +37,10 @@ build: [
37
37
  ]
38
38
  url {
39
39
  src:
40
- "https://github.com/ocaml/dune/releases/download/3.20.2/dune-3.20.2.tbz"
40
+ "https://github.com/ocaml/dune/releases/download/3.21.1/dune-3.21.1.tbz"
41
41
  checksum: [
42
- "sha256=b1a86b2d60bdb4a8b9bb6861bdf2f9f28a6e7cb5d833ce81afecceb9ef9ca549"
43
- "sha512=ed14df9163e487d4ae7d0a2427eaab7823ef1f0ef2d93f0b783e6f163bbd5b44ba73f055d60b84e76f476fe11d38e794013628a1da776d9ec13cca9666e7b7ff"
42
+ "sha256=84f7a82c6d80a7124f3847e9a489e80cfbeafb7bed3573ac01286ef56fd08d94"
43
+ "sha512=d9fa44e24036d2593adfe59e52e0ad64f3e7e973d23f84af57fc79e38fa210630b0cb55590f314d6ef455333b96a8e0ce188c2720eaae44576222541ba78efb3"
44
44
  ]
45
45
  }
46
- x-commit-hash: "1e54fd3f450aae7fb41ffb6b7c8b7a5aed754777"
46
+ x-commit-hash: "0b5863d9be475453b3cc2bd321fde222af2544d4"
@@ -58,17 +58,18 @@ depends: [
58
58
  "ppx_expect" { with-dev-setup & >= "v0.17" & os != "win32" }
59
59
  "spawn" { with-dev-setup }
60
60
  "ppx_inline_test" { with-dev-setup & os != "win32" }
61
- "ppxlib" { with-dev-setup & >= "0.35.0" & os != "win32" }
61
+ "ppxlib" { with-dev-setup & >= "0.37.0" & os != "win32" }
62
62
  "ctypes" { with-dev-setup & os != "win32" }
63
63
  "utop" { with-dev-setup & >= "2.6.0" & os != "win32" }
64
64
  "melange" { with-dev-setup & >= "5.1.0-51" & os != "win32" }
65
+ "uutf" { with-dev-setup }
65
66
  ]
66
67
  url {
67
68
  src:
68
- "https://github.com/ocaml/dune/releases/download/3.20.2/dune-3.20.2.tbz"
69
+ "https://github.com/ocaml/dune/releases/download/3.21.1/dune-3.21.1.tbz"
69
70
  checksum: [
70
- "sha256=b1a86b2d60bdb4a8b9bb6861bdf2f9f28a6e7cb5d833ce81afecceb9ef9ca549"
71
- "sha512=ed14df9163e487d4ae7d0a2427eaab7823ef1f0ef2d93f0b783e6f163bbd5b44ba73f055d60b84e76f476fe11d38e794013628a1da776d9ec13cca9666e7b7ff"
71
+ "sha256=84f7a82c6d80a7124f3847e9a489e80cfbeafb7bed3573ac01286ef56fd08d94"
72
+ "sha512=d9fa44e24036d2593adfe59e52e0ad64f3e7e973d23f84af57fc79e38fa210630b0cb55590f314d6ef455333b96a8e0ce188c2720eaae44576222541ba78efb3"
72
73
  ]
73
74
  }
74
- x-commit-hash: "1e54fd3f450aae7fb41ffb6b7c8b7a5aed754777"
75
+ x-commit-hash: "0b5863d9be475453b3cc2bd321fde222af2544d4"
@@ -8,14 +8,14 @@ homepage: "https://github.com/ocaml/dune"
8
8
  doc: "https://dune.readthedocs.io/"
9
9
  bug-reports: "https://github.com/ocaml/dune/issues"
10
10
  depends: [
11
- "dune" {>= "3.20"}
11
+ "dune" {>= "3.21"}
12
12
  "ocaml" {>= "4.08.0"}
13
13
  "ordering" {= version}
14
14
  "pp" {>= "1.1.0"}
15
15
  "odoc" {with-doc}
16
16
  ]
17
17
  dev-repo: "git+https://github.com/ocaml/dune.git"
18
- x-maintenance-intent: ["(latest)"]
18
+ x-maintenance-intent: ["none"]
19
19
  build: [
20
20
  ["dune" "subst"] {dev}
21
21
  ["rm" "-rf" "vendor/csexp"]
@@ -33,10 +33,10 @@ build: [
33
33
  ]
34
34
  url {
35
35
  src:
36
- "https://github.com/ocaml/dune/releases/download/3.20.2/dune-3.20.2.tbz"
36
+ "https://github.com/ocaml/dune/releases/download/3.21.1/dune-3.21.1.tbz"
37
37
  checksum: [
38
- "sha256=b1a86b2d60bdb4a8b9bb6861bdf2f9f28a6e7cb5d833ce81afecceb9ef9ca549"
39
- "sha512=ed14df9163e487d4ae7d0a2427eaab7823ef1f0ef2d93f0b783e6f163bbd5b44ba73f055d60b84e76f476fe11d38e794013628a1da776d9ec13cca9666e7b7ff"
38
+ "sha256=84f7a82c6d80a7124f3847e9a489e80cfbeafb7bed3573ac01286ef56fd08d94"
39
+ "sha512=d9fa44e24036d2593adfe59e52e0ad64f3e7e973d23f84af57fc79e38fa210630b0cb55590f314d6ef455333b96a8e0ce188c2720eaae44576222541ba78efb3"
40
40
  ]
41
41
  }
42
- x-commit-hash: "1e54fd3f450aae7fb41ffb6b7c8b7a5aed754777"
42
+ x-commit-hash: "0b5863d9be475453b3cc2bd321fde222af2544d4"
@@ -0,0 +1,41 @@
1
+ opam-version: "2.0"
2
+ synopsis: "File System Operations"
3
+ description: "Misc. Collection of File System Operations"
4
+ maintainer: ["Jane Street Group, LLC <opensource@janestreet.com>"]
5
+ authors: ["Jane Street Group, LLC <opensource@janestreet.com>"]
6
+ license: "MIT"
7
+ homepage: "https://github.com/ocaml/dune"
8
+ doc: "https://dune.readthedocs.io/"
9
+ bug-reports: "https://github.com/ocaml/dune/issues"
10
+ depends: [
11
+ "dune" {>= "3.21"}
12
+ "base-unix"
13
+ "ocaml" {>= "4.08"}
14
+ "odoc" {with-doc}
15
+ ]
16
+ dev-repo: "git+https://github.com/ocaml/dune.git"
17
+ x-maintenance-intent: ["none"]
18
+ build: [
19
+ ["dune" "subst"] {dev}
20
+ ["rm" "-rf" "vendor/csexp"]
21
+ ["rm" "-rf" "vendor/pp"]
22
+ [
23
+ "dune"
24
+ "build"
25
+ "-p"
26
+ name
27
+ "-j"
28
+ jobs
29
+ "@install"
30
+ "@doc" {with-doc}
31
+ ]
32
+ ]
33
+ url {
34
+ src:
35
+ "https://github.com/ocaml/dune/releases/download/3.21.1/dune-3.21.1.tbz"
36
+ checksum: [
37
+ "sha256=84f7a82c6d80a7124f3847e9a489e80cfbeafb7bed3573ac01286ef56fd08d94"
38
+ "sha512=d9fa44e24036d2593adfe59e52e0ad64f3e7e973d23f84af57fc79e38fa210630b0cb55590f314d6ef455333b96a8e0ce188c2720eaae44576222541ba78efb3"
39
+ ]
40
+ }
41
+ x-commit-hash: "0b5863d9be475453b3cc2bd321fde222af2544d4"
@@ -13,18 +13,20 @@ build: [
13
13
  ["dune" "build" "-p" name "-j" jobs]
14
14
  ]
15
15
  depends: [
16
- "ocaml" {>= "4.03.0"}
16
+ "ocaml" {>= "4.08"}
17
17
  "dune" {>= "2.8.0"}
18
18
  "menhirLib" {= version}
19
19
  "menhirSdk" {= version}
20
20
  "menhirCST" {= version}
21
+ "menhirGLR" {= version}
21
22
  ]
22
23
  synopsis: "An LR(1) parser generator"
24
+ x-maintenance-intent: ["(latest)"]
23
25
  url {
24
26
  src:
25
- "https://gitlab.inria.fr/fpottier/menhir/-/archive/20250912/archive.tar.gz"
27
+ "https://gitlab.inria.fr/fpottier/menhir/-/archive/20260209/archive.tar.gz"
26
28
  checksum: [
27
- "md5=b8f83df02226419f99e49f1b637dcb11"
28
- "sha512=72c85ec63104d6a7c7b6305b4642b86909fcad2e46561427ad596e37e686b3c94cd382da440f058d32800a15b157b80a8242df8043440a209ba73d209657ea84"
29
+ "md5=e993231085db95ab011ffe0cd606d9dd"
30
+ "sha512=aafad186f328ae8dd4cc69af0f30c1a0b208cf5148a7a94c150099be03838503c5ec12918de26cd7f794b5a72f114bc1bae8d81058bd0ea10372a3b06818687e"
29
31
  ]
30
32
  }
@@ -19,11 +19,12 @@ conflicts: [
19
19
  "menhir" { != version }
20
20
  ]
21
21
  synopsis: "Runtime support library for unparsers generated by Menhir"
22
+ x-maintenance-intent: ["(latest)"]
22
23
  url {
23
24
  src:
24
- "https://gitlab.inria.fr/fpottier/menhir/-/archive/20250912/archive.tar.gz"
25
+ "https://gitlab.inria.fr/fpottier/menhir/-/archive/20260209/archive.tar.gz"
25
26
  checksum: [
26
- "md5=b8f83df02226419f99e49f1b637dcb11"
27
- "sha512=72c85ec63104d6a7c7b6305b4642b86909fcad2e46561427ad596e37e686b3c94cd382da440f058d32800a15b157b80a8242df8043440a209ba73d209657ea84"
27
+ "md5=e993231085db95ab011ffe0cd606d9dd"
28
+ "sha512=aafad186f328ae8dd4cc69af0f30c1a0b208cf5148a7a94c150099be03838503c5ec12918de26cd7f794b5a72f114bc1bae8d81058bd0ea10372a3b06818687e"
28
29
  ]
29
30
  }
@@ -0,0 +1,30 @@
1
+
2
+ opam-version: "2.0"
3
+ maintainer: "francois.pottier@inria.fr"
4
+ authors: [
5
+ "François Pottier <francois.pottier@inria.fr>"
6
+ ]
7
+ homepage: "http://gitlab.inria.fr/fpottier/menhir"
8
+ dev-repo: "git+https://gitlab.inria.fr/fpottier/menhir.git"
9
+ bug-reports: "https://gitlab.inria.fr/fpottier/menhir/-/issues"
10
+ license: "LGPL-2.0-only WITH OCaml-LGPL-linking-exception"
11
+ build: [
12
+ ["dune" "build" "-p" name "-j" jobs]
13
+ ]
14
+ depends: [
15
+ "ocaml" { >= "4.08" }
16
+ "dune" { >= "2.8.0" }
17
+ ]
18
+ conflicts: [
19
+ "menhir" { != version }
20
+ ]
21
+ synopsis: "Runtime support library for GLR parsers generated by Menhir"
22
+ x-maintenance-intent: ["(latest)"]
23
+ url {
24
+ src:
25
+ "https://gitlab.inria.fr/fpottier/menhir/-/archive/20260209/archive.tar.gz"
26
+ checksum: [
27
+ "md5=e993231085db95ab011ffe0cd606d9dd"
28
+ "sha512=aafad186f328ae8dd4cc69af0f30c1a0b208cf5148a7a94c150099be03838503c5ec12918de26cd7f794b5a72f114bc1bae8d81058bd0ea10372a3b06818687e"
29
+ ]
30
+ }
@@ -13,18 +13,19 @@ build: [
13
13
  ["dune" "build" "-p" name "-j" jobs]
14
14
  ]
15
15
  depends: [
16
- "ocaml" { >= "4.03.0" }
16
+ "ocaml" { >= "4.08" }
17
17
  "dune" { >= "2.8.0" }
18
18
  ]
19
19
  conflicts: [
20
20
  "menhir" { != version }
21
21
  ]
22
22
  synopsis: "Runtime support library for parsers generated by Menhir"
23
+ x-maintenance-intent: ["(latest)"]
23
24
  url {
24
25
  src:
25
- "https://gitlab.inria.fr/fpottier/menhir/-/archive/20250912/archive.tar.gz"
26
+ "https://gitlab.inria.fr/fpottier/menhir/-/archive/20260209/archive.tar.gz"
26
27
  checksum: [
27
- "md5=b8f83df02226419f99e49f1b637dcb11"
28
- "sha512=72c85ec63104d6a7c7b6305b4642b86909fcad2e46561427ad596e37e686b3c94cd382da440f058d32800a15b157b80a8242df8043440a209ba73d209657ea84"
28
+ "md5=e993231085db95ab011ffe0cd606d9dd"
29
+ "sha512=aafad186f328ae8dd4cc69af0f30c1a0b208cf5148a7a94c150099be03838503c5ec12918de26cd7f794b5a72f114bc1bae8d81058bd0ea10372a3b06818687e"
29
30
  ]
30
31
  }
@@ -13,18 +13,19 @@ build: [
13
13
  ["dune" "build" "-p" name "-j" jobs]
14
14
  ]
15
15
  depends: [
16
- "ocaml" { >= "4.03.0" }
16
+ "ocaml" { >= "4.08" }
17
17
  "dune" { >= "2.8.0" }
18
18
  ]
19
19
  conflicts: [
20
20
  "menhir" { != version }
21
21
  ]
22
22
  synopsis: "Compile-time library for auxiliary tools related to Menhir"
23
+ x-maintenance-intent: ["(latest)"]
23
24
  url {
24
25
  src:
25
- "https://gitlab.inria.fr/fpottier/menhir/-/archive/20250912/archive.tar.gz"
26
+ "https://gitlab.inria.fr/fpottier/menhir/-/archive/20260209/archive.tar.gz"
26
27
  checksum: [
27
- "md5=b8f83df02226419f99e49f1b637dcb11"
28
- "sha512=72c85ec63104d6a7c7b6305b4642b86909fcad2e46561427ad596e37e686b3c94cd382da440f058d32800a15b157b80a8242df8043440a209ba73d209657ea84"
28
+ "md5=e993231085db95ab011ffe0cd606d9dd"
29
+ "sha512=aafad186f328ae8dd4cc69af0f30c1a0b208cf5148a7a94c150099be03838503c5ec12918de26cd7f794b5a72f114bc1bae8d81058bd0ea10372a3b06818687e"
29
30
  ]
30
31
  }
@@ -28,3 +28,5 @@ url {
28
28
  "sha512=21e596d6407a620866cee7cab47ef1a9446d6a733b4994e809ea5566d5fa956682a5c6a6190ffb0ed48458abd658301944ed10c4389d91ecb8df677a5f87f2ab"
29
29
  ]
30
30
  }
31
+ x-maintenance-intent: ["(latest)"]
32
+
@@ -9,7 +9,7 @@ homepage: "https://github.com/ocaml/dune"
9
9
  doc: "https://dune.readthedocs.io/"
10
10
  bug-reports: "https://github.com/ocaml/dune/issues"
11
11
  depends: [
12
- "dune" {>= "3.20"}
12
+ "dune" {>= "3.21"}
13
13
  "ocaml" {>= "4.08.0"}
14
14
  "dyn" {= version}
15
15
  "odoc" {with-doc}
@@ -18,7 +18,7 @@ conflicts: [
18
18
  "ocaml-lsp-server" {< "1.15.0"}
19
19
  ]
20
20
  dev-repo: "git+https://github.com/ocaml/dune.git"
21
- x-maintenance-intent: ["(latest)"]
21
+ x-maintenance-intent: ["none"]
22
22
  build: [
23
23
  ["dune" "subst"] {dev}
24
24
  ["rm" "-rf" "vendor/csexp"]
@@ -36,10 +36,10 @@ build: [
36
36
  ]
37
37
  url {
38
38
  src:
39
- "https://github.com/ocaml/dune/releases/download/3.20.2/dune-3.20.2.tbz"
39
+ "https://github.com/ocaml/dune/releases/download/3.21.1/dune-3.21.1.tbz"
40
40
  checksum: [
41
- "sha256=b1a86b2d60bdb4a8b9bb6861bdf2f9f28a6e7cb5d833ce81afecceb9ef9ca549"
42
- "sha512=ed14df9163e487d4ae7d0a2427eaab7823ef1f0ef2d93f0b783e6f163bbd5b44ba73f055d60b84e76f476fe11d38e794013628a1da776d9ec13cca9666e7b7ff"
41
+ "sha256=84f7a82c6d80a7124f3847e9a489e80cfbeafb7bed3573ac01286ef56fd08d94"
42
+ "sha512=d9fa44e24036d2593adfe59e52e0ad64f3e7e973d23f84af57fc79e38fa210630b0cb55590f314d6ef455333b96a8e0ce188c2720eaae44576222541ba78efb3"
43
43
  ]
44
44
  }
45
- x-commit-hash: "1e54fd3f450aae7fb41ffb6b7c8b7a5aed754777"
45
+ x-commit-hash: "0b5863d9be475453b3cc2bd321fde222af2544d4"
@@ -12,7 +12,7 @@ license: "MIT"
12
12
  homepage: "http://projects.camlcity.org/projects/findlib.html"
13
13
  bug-reports: "https://github.com/ocaml/ocamlfind/issues"
14
14
  depends: [
15
- "ocaml" {>= "3.08.0"}
15
+ "ocaml" {>= "3.08.0" & (os != "cygwin" & os-distribution != "msys2" | < "5.0")}
16
16
  ]
17
17
  depopts: ["graphics"]
18
18
  build: [
@@ -8,12 +8,12 @@ homepage: "https://github.com/ocaml/dune"
8
8
  doc: "https://dune.readthedocs.io/"
9
9
  bug-reports: "https://github.com/ocaml/dune/issues"
10
10
  depends: [
11
- "dune" {>= "3.20"}
11
+ "dune" {>= "3.21"}
12
12
  "ocaml" {>= "4.08.0"}
13
13
  "odoc" {with-doc}
14
14
  ]
15
15
  dev-repo: "git+https://github.com/ocaml/dune.git"
16
- x-maintenance-intent: ["(latest)"]
16
+ x-maintenance-intent: ["none"]
17
17
  build: [
18
18
  ["dune" "subst"] {dev}
19
19
  ["rm" "-rf" "vendor/csexp"]
@@ -31,10 +31,10 @@ build: [
31
31
  ]
32
32
  url {
33
33
  src:
34
- "https://github.com/ocaml/dune/releases/download/3.20.2/dune-3.20.2.tbz"
34
+ "https://github.com/ocaml/dune/releases/download/3.21.1/dune-3.21.1.tbz"
35
35
  checksum: [
36
- "sha256=b1a86b2d60bdb4a8b9bb6861bdf2f9f28a6e7cb5d833ce81afecceb9ef9ca549"
37
- "sha512=ed14df9163e487d4ae7d0a2427eaab7823ef1f0ef2d93f0b783e6f163bbd5b44ba73f055d60b84e76f476fe11d38e794013628a1da776d9ec13cca9666e7b7ff"
36
+ "sha256=84f7a82c6d80a7124f3847e9a489e80cfbeafb7bed3573ac01286ef56fd08d94"
37
+ "sha512=d9fa44e24036d2593adfe59e52e0ad64f3e7e973d23f84af57fc79e38fa210630b0cb55590f314d6ef455333b96a8e0ce188c2720eaae44576222541ba78efb3"
38
38
  ]
39
39
  }
40
- x-commit-hash: "1e54fd3f450aae7fb41ffb6b7c8b7a5aed754777"
40
+ x-commit-hash: "0b5863d9be475453b3cc2bd321fde222af2544d4"
@@ -23,3 +23,5 @@ url {
23
23
  src: "https://github.com/janestreet/ppx_yojson_conv_lib/archive/refs/tags/v0.17.0.tar.gz"
24
24
  checksum: "sha256=f6e6ee92408c53c5ecd8bb5ae93811aa4cf71f8dc144d5943be8fc2c7697b199"
25
25
  }
26
+ x-maintenance-intent: ["(latest)"]
27
+
@@ -29,3 +29,5 @@ url {
29
29
  "sha512=ad387e40789fe70a11473db7e85fe017b801592624414e9030730b2e92ea08f98095fb6e9236430f33c801605ebee0a2a6284e0f618a26a7da4599d4fd9d395d"
30
30
  ]
31
31
  }
32
+ x-maintenance-intent: ["(latest)"]
33
+
@@ -11,7 +11,7 @@ build: [
11
11
  ]
12
12
  depends: [
13
13
  "ocaml" {>= "5.1.0"}
14
- "base" {>= "v0.17" & < "v0.18"}
14
+ "base" {>= "v0.17" & < "v0.18~"}
15
15
  "dune" {>= "3.11.0"}
16
16
  ]
17
17
  available: arch != "x86_32"
@@ -26,3 +26,5 @@ url {
26
26
  src: "https://github.com/janestreet/stdio/archive/refs/tags/v0.17.0.tar.gz"
27
27
  checksum: "sha256=e7cb473d4bffcf419f307c658cf2599fab03a2b4fe655bfd0be699f8f7af176e"
28
28
  }
29
+ x-maintenance-intent: ["(latest)"]
30
+
@@ -9,17 +9,19 @@ homepage: "https://github.com/ocaml/dune"
9
9
  doc: "https://dune.readthedocs.io/"
10
10
  bug-reports: "https://github.com/ocaml/dune/issues"
11
11
  depends: [
12
- "dune" {>= "3.20"}
12
+ "dune" {>= "3.21"}
13
13
  "ocaml" {>= "4.08.0"}
14
14
  "base-unix"
15
+ "csexp" {>= "1.5.0"}
15
16
  "dyn" {= version}
17
+ "fs-io" {= version}
16
18
  "ordering" {= version}
17
19
  "pp" {>= "2.0.0"}
18
- "csexp" {>= "1.5.0"}
20
+ "top-closure" {= version}
19
21
  "odoc" {with-doc}
20
22
  ]
21
23
  dev-repo: "git+https://github.com/ocaml/dune.git"
22
- x-maintenance-intent: ["(latest)"]
24
+ x-maintenance-intent: ["none"]
23
25
  build: [
24
26
  ["dune" "subst"] {dev}
25
27
  ["rm" "-rf" "vendor/csexp"]
@@ -37,10 +39,10 @@ build: [
37
39
  ]
38
40
  url {
39
41
  src:
40
- "https://github.com/ocaml/dune/releases/download/3.20.2/dune-3.20.2.tbz"
42
+ "https://github.com/ocaml/dune/releases/download/3.21.1/dune-3.21.1.tbz"
41
43
  checksum: [
42
- "sha256=b1a86b2d60bdb4a8b9bb6861bdf2f9f28a6e7cb5d833ce81afecceb9ef9ca549"
43
- "sha512=ed14df9163e487d4ae7d0a2427eaab7823ef1f0ef2d93f0b783e6f163bbd5b44ba73f055d60b84e76f476fe11d38e794013628a1da776d9ec13cca9666e7b7ff"
44
+ "sha256=84f7a82c6d80a7124f3847e9a489e80cfbeafb7bed3573ac01286ef56fd08d94"
45
+ "sha512=d9fa44e24036d2593adfe59e52e0ad64f3e7e973d23f84af57fc79e38fa210630b0cb55590f314d6ef455333b96a8e0ce188c2720eaae44576222541ba78efb3"
44
46
  ]
45
47
  }
46
- x-commit-hash: "1e54fd3f450aae7fb41ffb6b7c8b7a5aed754777"
48
+ x-commit-hash: "0b5863d9be475453b3cc2bd321fde222af2544d4"
@@ -0,0 +1,40 @@
1
+ opam-version: "2.0"
2
+ synopsis: "Topological Closure"
3
+ description: "Generic Topological Closure"
4
+ maintainer: ["Jane Street Group, LLC <opensource@janestreet.com>"]
5
+ authors: ["Jane Street Group, LLC <opensource@janestreet.com>"]
6
+ license: "MIT"
7
+ homepage: "https://github.com/ocaml/dune"
8
+ doc: "https://dune.readthedocs.io/"
9
+ bug-reports: "https://github.com/ocaml/dune/issues"
10
+ depends: [
11
+ "dune" {>= "3.21"}
12
+ "ocaml" {>= "4.08"}
13
+ "odoc" {with-doc}
14
+ ]
15
+ dev-repo: "git+https://github.com/ocaml/dune.git"
16
+ x-maintenance-intent: ["none"]
17
+ build: [
18
+ ["dune" "subst"] {dev}
19
+ ["rm" "-rf" "vendor/csexp"]
20
+ ["rm" "-rf" "vendor/pp"]
21
+ [
22
+ "dune"
23
+ "build"
24
+ "-p"
25
+ name
26
+ "-j"
27
+ jobs
28
+ "@install"
29
+ "@doc" {with-doc}
30
+ ]
31
+ ]
32
+ url {
33
+ src:
34
+ "https://github.com/ocaml/dune/releases/download/3.21.1/dune-3.21.1.tbz"
35
+ checksum: [
36
+ "sha256=84f7a82c6d80a7124f3847e9a489e80cfbeafb7bed3573ac01286ef56fd08d94"
37
+ "sha512=d9fa44e24036d2593adfe59e52e0ad64f3e7e973d23f84af57fc79e38fa210630b0cb55590f314d6ef455333b96a8e0ce188c2720eaae44576222541ba78efb3"
38
+ ]
39
+ }
40
+ x-commit-hash: "0b5863d9be475453b3cc2bd321fde222af2544d4"
@@ -9,7 +9,7 @@ homepage: "https://github.com/ocaml/dune"
9
9
  doc: "https://dune.readthedocs.io/"
10
10
  bug-reports: "https://github.com/ocaml/dune/issues"
11
11
  depends: [
12
- "dune" {>= "3.20"}
12
+ "dune" {>= "3.21"}
13
13
  "ocaml" {>= "4.08"}
14
14
  "odoc" {with-doc}
15
15
  ]
@@ -32,10 +32,10 @@ build: [
32
32
  ]
33
33
  url {
34
34
  src:
35
- "https://github.com/ocaml/dune/releases/download/3.20.2/dune-3.20.2.tbz"
35
+ "https://github.com/ocaml/dune/releases/download/3.21.1/dune-3.21.1.tbz"
36
36
  checksum: [
37
- "sha256=b1a86b2d60bdb4a8b9bb6861bdf2f9f28a6e7cb5d833ce81afecceb9ef9ca549"
38
- "sha512=ed14df9163e487d4ae7d0a2427eaab7823ef1f0ef2d93f0b783e6f163bbd5b44ba73f055d60b84e76f476fe11d38e794013628a1da776d9ec13cca9666e7b7ff"
37
+ "sha256=84f7a82c6d80a7124f3847e9a489e80cfbeafb7bed3573ac01286ef56fd08d94"
38
+ "sha512=d9fa44e24036d2593adfe59e52e0ad64f3e7e973d23f84af57fc79e38fa210630b0cb55590f314d6ef455333b96a8e0ce188c2720eaae44576222541ba78efb3"
39
39
  ]
40
40
  }
41
- x-commit-hash: "1e54fd3f450aae7fb41ffb6b7c8b7a5aed754777"
41
+ x-commit-hash: "0b5863d9be475453b3cc2bd321fde222af2544d4"
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@grain/binaryen.ml",
3
- "version": "0.33.0",
3
+ "version": "0.35.0",
4
4
  "description": "OCaml bindings for Binaryen.",
5
5
  "author": "Oscar Spencer <oscar@grain-lang.org>",
6
6
  "license": "Apache-2.0",
7
7
  "dependencies": {
8
8
  "ocaml": ">= 4.13.0 < 5.4.0",
9
- "@grain/libbinaryen": ">= 123.0.0 < 124.0.0",
9
+ "@grain/libbinaryen": ">= 125.0.0 < 126.0.0",
10
10
  "@opam/dune": ">= 3.0.0",
11
11
  "@opam/dune-configurator": ">= 3.0.0"
12
12
  },
binaryen-archive/src/dune CHANGED
@@ -15,6 +15,7 @@
15
15
  export
16
16
  global
17
17
  table
18
+ tag
18
19
  memory
19
20
  module_feature
20
21
  module
@@ -37,6 +38,7 @@
37
38
  export.js
38
39
  global.js
39
40
  table.js
41
+ tag.js
40
42
  memory.js
41
43
  module_feature.js
42
44
  module.js
@@ -48,6 +48,16 @@ caml_binaryen_add_global_export(value _module, value _internalName, value _exter
48
48
  CAMLreturn(alloc_BinaryenExportRef(exp));
49
49
  }
50
50
 
51
+ CAMLprim value
52
+ caml_binaryen_add_tag_export(value _module, value _internalName, value _externalName) {
53
+ CAMLparam3(_module, _internalName, _externalName);
54
+ BinaryenModuleRef module = BinaryenModuleRef_val(_module);
55
+ char* internalName = Safe_String_val(_internalName);
56
+ char* externalName = Safe_String_val(_externalName);
57
+ BinaryenExportRef exp = BinaryenAddTagExport(module, internalName, externalName);
58
+ CAMLreturn(alloc_BinaryenExportRef(exp));
59
+ }
60
+
51
61
  CAMLprim value
52
62
  caml_binaryen_get_export(value _module, value _externalName) {
53
63
  CAMLparam2(_module, _externalName);
@@ -50,6 +50,19 @@ function caml_binaryen_add_global_export(
50
50
  );
51
51
  }
52
52
 
53
+ //Provides: caml_binaryen_add_tag_export
54
+ //Requires: caml_jsstring_of_string
55
+ function caml_binaryen_add_tag_export(
56
+ wasm_mod,
57
+ internal_name,
58
+ external_name
59
+ ) {
60
+ return wasm_mod.addTagExport(
61
+ caml_jsstring_of_string(internal_name),
62
+ caml_jsstring_of_string(external_name)
63
+ );
64
+ }
65
+
53
66
  //Provides: caml_binaryen_get_export
54
67
  //Requires: caml_jsstring_of_string
55
68
  function caml_binaryen_get_export(wasm_mod, external_name) {
@@ -16,6 +16,10 @@ external add_global_export : Module.t -> string -> string -> t
16
16
  = "caml_binaryen_add_global_export"
17
17
  (** Module, internal name, external name. *)
18
18
 
19
+ external add_tag_export : Module.t -> string -> string -> t
20
+ = "caml_binaryen_add_tag_export"
21
+ (** Module, internal name, external name. *)
22
+
19
23
  external get_export : Module.t -> string -> t = "caml_binaryen_get_export"
20
24
 
21
25
  external remove_export : Module.t -> string -> unit