@grain/binaryen.ml 0.21.0 → 0.23.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 (44) hide show
  1. binaryen-archive/CHANGELOG.md +59 -0
  2. binaryen-archive/binaryen.opam +2 -2
  3. binaryen-archive/esy.lock/index.json +261 -258
  4. binaryen-archive/esy.lock/opam/{base.v0.16.1 → base.v0.16.3}/opam +3 -3
  5. binaryen-archive/esy.lock/opam/{chrome-trace.3.9.0 → chrome-trace.3.10.0}/opam +5 -4
  6. binaryen-archive/esy.lock/opam/{dune-build-info.3.9.0 → dune-build-info.3.10.0}/opam +5 -4
  7. binaryen-archive/esy.lock/opam/{dune-configurator.3.9.0 → dune-configurator.3.10.0}/opam +5 -4
  8. binaryen-archive/esy.lock/opam/{dune-rpc.3.9.0 → dune-rpc.3.10.0}/opam +5 -4
  9. binaryen-archive/esy.lock/opam/{dune.3.9.0 → dune.3.10.0}/opam +5 -4
  10. binaryen-archive/esy.lock/opam/{dyn.3.9.0 → dyn.3.10.0}/opam +5 -4
  11. binaryen-archive/esy.lock/opam/{js_of_ocaml-compiler.5.3.0 → js_of_ocaml-compiler.5.4.0}/opam +5 -5
  12. binaryen-archive/esy.lock/opam/{ocamlformat-rpc-lib.0.25.1 → ocamlformat-rpc-lib.0.26.1}/opam +16 -6
  13. binaryen-archive/esy.lock/opam/{ordering.3.9.0 → ordering.3.10.0}/opam +5 -4
  14. binaryen-archive/esy.lock/opam/{pp.1.1.2 → pp.1.2.0}/opam +7 -6
  15. binaryen-archive/esy.lock/opam/{re.1.10.4 → re.1.11.0}/opam +5 -5
  16. binaryen-archive/esy.lock/opam/{stdune.3.9.0 → stdune.3.10.0}/opam +5 -4
  17. binaryen-archive/esy.lock/opam/{uucp.15.0.0 → uucp.15.1.0}/opam +10 -14
  18. binaryen-archive/esy.lock/opam/{uuseg.15.0.0 → uuseg.15.1.0}/opam +9 -11
  19. binaryen-archive/esy.lock/opam/{xdg.3.9.0 → xdg.3.10.0}/opam +5 -4
  20. binaryen-archive/package.json +2 -2
  21. binaryen-archive/src/dune +1 -3
  22. binaryen-archive/src/expression.c +42 -24
  23. binaryen-archive/src/expression.js +35 -16
  24. binaryen-archive/src/expression.ml +39 -11
  25. binaryen-archive/src/expression.mli +10 -2
  26. binaryen-archive/src/heap_type.c +2 -2
  27. binaryen-archive/src/heap_type.js +3 -3
  28. binaryen-archive/src/heap_type.ml +1 -1
  29. binaryen-archive/src/heap_type.mli +1 -1
  30. binaryen-archive/src/op.c +116 -95
  31. binaryen-archive/src/op.js +102 -84
  32. binaryen-archive/src/op.ml +152 -35
  33. binaryen-archive/src/op.mli +48 -45
  34. binaryen-archive/src/passes.ml +17 -1
  35. binaryen-archive/src/passes.mli +15 -0
  36. binaryen-archive/src/type.c +2 -2
  37. binaryen-archive/src/type.js +3 -3
  38. binaryen-archive/src/type.ml +2 -2
  39. binaryen-archive/src/type.mli +1 -1
  40. binaryen-archive/test/test.expected +26 -26
  41. binaryen-archive/src/type_system.c +0 -40
  42. binaryen-archive/src/type_system.js +0 -29
  43. binaryen-archive/src/type_system.ml +0 -7
  44. binaryen-archive/src/type_system.mli +0 -7
@@ -31,9 +31,9 @@ provided by companion libraries such as stdio:
31
31
  https://github.com/janestreet/stdio
32
32
  "
33
33
  url {
34
- src: "https://github.com/janestreet/base/archive/refs/tags/v0.16.1.tar.gz"
34
+ src: "https://github.com/janestreet/base/archive/refs/tags/v0.16.3.tar.gz"
35
35
  checksum: [
36
- "md5=ae1cc041c0f8ea3ca163bc904336e9aa"
37
- "sha512=347ccc68be09ef207f0ac793f1c472688855ba53c317a35c95f7124be4105985b54f866b604a66a9d2e54bc320f7b29ffa3eb224622b1cce6ca504e1ee4888ff"
36
+ "md5=04572fc23a4651604cfcab83f720cb4c"
37
+ "sha512=69380ed392faf4495459f97f70a10a6959fce71d2e6ba093472fc272141646307fd7872407de855dfa48ef0435f6587eae5aa50f4a67eac40a9e1946d0c3c070"
38
38
  ]
39
39
  }
@@ -30,10 +30,11 @@ build: [
30
30
  ]
31
31
  ]
32
32
  url {
33
- src: "https://github.com/ocaml/dune/releases/download/3.9.0/dune-3.9.0.tbz"
33
+ src:
34
+ "https://github.com/ocaml/dune/releases/download/3.10.0/dune-3.10.0.tbz"
34
35
  checksum: [
35
- "sha256=c4825a9de454aedf450c2db25ac353033e31d326a9d1b4b7a2cd7260639bd544"
36
- "sha512=55d83bfee7c741cb5b74187674f9ef992ddf0b149f8d22a0a392c4c8ddf1075e9192eebd81cf36c115331cd96e10824100c6c338835d26c25e965e68ed94673d"
36
+ "sha256=9ff03384a98a8df79852cc674f0b4738ba8aec17029b6e2eeb514f895e710355"
37
+ "sha512=8133cdcc5499a6bf21cd65b4fc8b12445ae39366731006773fcd3b348c553a8d89d004db161c655aa167a2a3653b7919d32b27f29217106ef762bd01b43afc76"
37
38
  ]
38
39
  }
39
- x-commit-hash: "891fa5a7d72655634378425d51a1cf703ff93336"
40
+ x-commit-hash: "fc382520272012638088848d7f3dd1ef6687a284"
@@ -36,10 +36,11 @@ build: [
36
36
  ]
37
37
  ]
38
38
  url {
39
- src: "https://github.com/ocaml/dune/releases/download/3.9.0/dune-3.9.0.tbz"
39
+ src:
40
+ "https://github.com/ocaml/dune/releases/download/3.10.0/dune-3.10.0.tbz"
40
41
  checksum: [
41
- "sha256=c4825a9de454aedf450c2db25ac353033e31d326a9d1b4b7a2cd7260639bd544"
42
- "sha512=55d83bfee7c741cb5b74187674f9ef992ddf0b149f8d22a0a392c4c8ddf1075e9192eebd81cf36c115331cd96e10824100c6c338835d26c25e965e68ed94673d"
42
+ "sha256=9ff03384a98a8df79852cc674f0b4738ba8aec17029b6e2eeb514f895e710355"
43
+ "sha512=8133cdcc5499a6bf21cd65b4fc8b12445ae39366731006773fcd3b348c553a8d89d004db161c655aa167a2a3653b7919d32b27f29217106ef762bd01b43afc76"
43
44
  ]
44
45
  }
45
- x-commit-hash: "891fa5a7d72655634378425d51a1cf703ff93336"
46
+ x-commit-hash: "fc382520272012638088848d7f3dd1ef6687a284"
@@ -40,10 +40,11 @@ build: [
40
40
  ]
41
41
  ]
42
42
  url {
43
- src: "https://github.com/ocaml/dune/releases/download/3.9.0/dune-3.9.0.tbz"
43
+ src:
44
+ "https://github.com/ocaml/dune/releases/download/3.10.0/dune-3.10.0.tbz"
44
45
  checksum: [
45
- "sha256=c4825a9de454aedf450c2db25ac353033e31d326a9d1b4b7a2cd7260639bd544"
46
- "sha512=55d83bfee7c741cb5b74187674f9ef992ddf0b149f8d22a0a392c4c8ddf1075e9192eebd81cf36c115331cd96e10824100c6c338835d26c25e965e68ed94673d"
46
+ "sha256=9ff03384a98a8df79852cc674f0b4738ba8aec17029b6e2eeb514f895e710355"
47
+ "sha512=8133cdcc5499a6bf21cd65b4fc8b12445ae39366731006773fcd3b348c553a8d89d004db161c655aa167a2a3653b7919d32b27f29217106ef762bd01b43afc76"
47
48
  ]
48
49
  }
49
- x-commit-hash: "891fa5a7d72655634378425d51a1cf703ff93336"
50
+ x-commit-hash: "fc382520272012638088848d7f3dd1ef6687a284"
@@ -34,10 +34,11 @@ build: [
34
34
  ]
35
35
  ]
36
36
  url {
37
- src: "https://github.com/ocaml/dune/releases/download/3.9.0/dune-3.9.0.tbz"
37
+ src:
38
+ "https://github.com/ocaml/dune/releases/download/3.10.0/dune-3.10.0.tbz"
38
39
  checksum: [
39
- "sha256=c4825a9de454aedf450c2db25ac353033e31d326a9d1b4b7a2cd7260639bd544"
40
- "sha512=55d83bfee7c741cb5b74187674f9ef992ddf0b149f8d22a0a392c4c8ddf1075e9192eebd81cf36c115331cd96e10824100c6c338835d26c25e965e68ed94673d"
40
+ "sha256=9ff03384a98a8df79852cc674f0b4738ba8aec17029b6e2eeb514f895e710355"
41
+ "sha512=8133cdcc5499a6bf21cd65b4fc8b12445ae39366731006773fcd3b348c553a8d89d004db161c655aa167a2a3653b7919d32b27f29217106ef762bd01b43afc76"
41
42
  ]
42
43
  }
43
- x-commit-hash: "891fa5a7d72655634378425d51a1cf703ff93336"
44
+ x-commit-hash: "fc382520272012638088848d7f3dd1ef6687a284"
@@ -47,10 +47,11 @@ depends: [
47
47
  "base-threads"
48
48
  ]
49
49
  url {
50
- src: "https://github.com/ocaml/dune/releases/download/3.9.0/dune-3.9.0.tbz"
50
+ src:
51
+ "https://github.com/ocaml/dune/releases/download/3.10.0/dune-3.10.0.tbz"
51
52
  checksum: [
52
- "sha256=c4825a9de454aedf450c2db25ac353033e31d326a9d1b4b7a2cd7260639bd544"
53
- "sha512=55d83bfee7c741cb5b74187674f9ef992ddf0b149f8d22a0a392c4c8ddf1075e9192eebd81cf36c115331cd96e10824100c6c338835d26c25e965e68ed94673d"
53
+ "sha256=9ff03384a98a8df79852cc674f0b4738ba8aec17029b6e2eeb514f895e710355"
54
+ "sha512=8133cdcc5499a6bf21cd65b4fc8b12445ae39366731006773fcd3b348c553a8d89d004db161c655aa167a2a3653b7919d32b27f29217106ef762bd01b43afc76"
54
55
  ]
55
56
  }
56
- x-commit-hash: "891fa5a7d72655634378425d51a1cf703ff93336"
57
+ x-commit-hash: "fc382520272012638088848d7f3dd1ef6687a284"
@@ -31,10 +31,11 @@ build: [
31
31
  ]
32
32
  ]
33
33
  url {
34
- src: "https://github.com/ocaml/dune/releases/download/3.9.0/dune-3.9.0.tbz"
34
+ src:
35
+ "https://github.com/ocaml/dune/releases/download/3.10.0/dune-3.10.0.tbz"
35
36
  checksum: [
36
- "sha256=c4825a9de454aedf450c2db25ac353033e31d326a9d1b4b7a2cd7260639bd544"
37
- "sha512=55d83bfee7c741cb5b74187674f9ef992ddf0b149f8d22a0a392c4c8ddf1075e9192eebd81cf36c115331cd96e10824100c6c338835d26c25e965e68ed94673d"
37
+ "sha256=9ff03384a98a8df79852cc674f0b4738ba8aec17029b6e2eeb514f895e710355"
38
+ "sha512=8133cdcc5499a6bf21cd65b4fc8b12445ae39366731006773fcd3b348c553a8d89d004db161c655aa167a2a3653b7919d32b27f29217106ef762bd01b43afc76"
38
39
  ]
39
40
  }
40
- x-commit-hash: "891fa5a7d72655634378425d51a1cf703ff93336"
41
+ x-commit-hash: "fc382520272012638088848d7f3dd1ef6687a284"
@@ -12,7 +12,7 @@ doc: "https://ocsigen.org/js_of_ocaml/latest/manual/overview"
12
12
  bug-reports: "https://github.com/ocsigen/js_of_ocaml/issues"
13
13
  depends: [
14
14
  "dune" {>= "3.7"}
15
- "ocaml" {>= "4.08" & < "5.1"}
15
+ "ocaml" {>= "4.08" & < "5.2"}
16
16
  "num" {with-test}
17
17
  "ppx_expect" {>= "v0.14.2" & with-test}
18
18
  "ppxlib" {>= "0.15.0"}
@@ -46,10 +46,10 @@ build: [
46
46
  ]
47
47
  url {
48
48
  src:
49
- "https://github.com/ocsigen/js_of_ocaml/releases/download/5.3.0/js_of_ocaml-5.3.0.tbz"
49
+ "https://github.com/ocsigen/js_of_ocaml/releases/download/5.4.0/js_of_ocaml-5.4.0.tbz"
50
50
  checksum: [
51
- "sha256=be9e3deeb98e5d28f1bcb2d9847c04d2885fc07ed58ccd8b08aa4b6628cd64d2"
52
- "sha512=26ba67312747f63c1ab58e92a20fde635833275a56b0570c145e57c093a0412ea8dd6c1bce84a71fd321d76a4223b7e50843c4352f6515909ea1b0713b6cfe68"
51
+ "sha256=f1215de133867fefdb16e2798a225ee0446469a57462af0deebdd22d2a8d3b94"
52
+ "sha512=610cd22818bc6f0a0163f0eec74f58338e18709a6101639f65e58241a9216ed286c3cb091b41e36a82c926de5f030d718a6e76a493e885e61456047a8da153c9"
53
53
  ]
54
54
  }
55
- x-commit-hash: "7b2929f3e08375a859f13f31cf8d918b6e9455b7"
55
+ x-commit-hash: "705b9e39bfb6ab22afbb606dc85c81d1c30faff4"
@@ -2,8 +2,18 @@ opam-version: "2.0"
2
2
  synopsis: "Auto-formatter for OCaml code (RPC mode)"
3
3
  description:
4
4
  "OCamlFormat is a tool to automatically format OCaml code in a uniform style. This package defines a RPC interface to OCamlFormat"
5
- maintainer: ["OCamlFormat Team <ocamlformat-dev@lists.ocaml.org>"]
6
- authors: ["Josh Berdine <jjb@fb.com>"]
5
+ maintainer: [
6
+ "Guillaume Petiot <guillaume@tarides.com>"
7
+ "Jules Aguillon <jules@j3s.fr>"
8
+ "Emile Trotignon <emile@tarides.com>"
9
+ ]
10
+ authors: [
11
+ "Josh Berdine <jjb@fb.com>"
12
+ "Hugo Heuzard <hugo.heuzard@gmail.com>"
13
+ "Etienne Millon <etienne@tarides.com>"
14
+ "Guillaume Petiot <guillaume@tarides.com>"
15
+ "Jules Aguillon <jules@j3s.fr>"
16
+ ]
7
17
  license: "MIT"
8
18
  homepage: "https://github.com/ocaml-ppx/ocamlformat"
9
19
  bug-reports: "https://github.com/ocaml-ppx/ocamlformat/issues"
@@ -30,10 +40,10 @@ build: [
30
40
  dev-repo: "git+https://github.com/ocaml-ppx/ocamlformat.git"
31
41
  url {
32
42
  src:
33
- "https://github.com/ocaml-ppx/ocamlformat/releases/download/0.25.1/ocamlformat-0.25.1.tbz"
43
+ "https://github.com/ocaml-ppx/ocamlformat/releases/download/0.26.1/ocamlformat-0.26.1.tbz"
34
44
  checksum: [
35
- "sha256=dc8f2a330ca3930b36cacb2623bb360ed8bdf6e4a8acd293dbd9e2241a6fd33d"
36
- "sha512=b28f545425fb5375447c90022d065dc7fd51ed2f66d8c1f65a71a6ad2465d039a8686e8f18249e5ad3a2362fee6149c855ef30eb45fb9d06d743a53d26b3e26f"
45
+ "sha256=da006e427f15b9ec612fb808d446599bd9b7c3ee25abeb3d555747a70d74c6d7"
46
+ "sha512=b7413f8dc47ba3a2372e89d59cae54f9a602ab81e31cd14ed986a831111080b79a5a3cc45dac04d8ffae5054c35bf29fe9559f145c76c87a30e191ed5400942a"
37
47
  ]
38
48
  }
39
- x-commit-hash: "651f767b48e14ba6b24db9421306942d9e51adcc"
49
+ x-commit-hash: "6734dfc1992eb782f0a936ce3cd7c78b7c1d39d3"
@@ -29,10 +29,11 @@ build: [
29
29
  ]
30
30
  ]
31
31
  url {
32
- src: "https://github.com/ocaml/dune/releases/download/3.9.0/dune-3.9.0.tbz"
32
+ src:
33
+ "https://github.com/ocaml/dune/releases/download/3.10.0/dune-3.10.0.tbz"
33
34
  checksum: [
34
- "sha256=c4825a9de454aedf450c2db25ac353033e31d326a9d1b4b7a2cd7260639bd544"
35
- "sha512=55d83bfee7c741cb5b74187674f9ef992ddf0b149f8d22a0a392c4c8ddf1075e9192eebd81cf36c115331cd96e10824100c6c338835d26c25e965e68ed94673d"
35
+ "sha256=9ff03384a98a8df79852cc674f0b4738ba8aec17029b6e2eeb514f895e710355"
36
+ "sha512=8133cdcc5499a6bf21cd65b4fc8b12445ae39366731006773fcd3b348c553a8d89d004db161c655aa167a2a3653b7919d32b27f29217106ef762bd01b43afc76"
36
37
  ]
37
38
  }
38
- x-commit-hash: "891fa5a7d72655634378425d51a1cf703ff93336"
39
+ x-commit-hash: "fc382520272012638088848d7f3dd1ef6687a284"
@@ -20,7 +20,7 @@ one [2] should be applicable to Pp as well.
20
20
  """
21
21
  maintainer: ["Jeremie Dimino <jeremie@dimino.org>"]
22
22
  authors: [
23
- "Jane Street Group, LLC"
23
+ "Jane Street Group, LLC <opensource@janestreet.com>"
24
24
  "Jeremie Dimino <jeremie@dimino.org>"
25
25
  ]
26
26
  license: "MIT"
@@ -28,9 +28,10 @@ homepage: "https://github.com/ocaml-dune/pp"
28
28
  doc: "https://ocaml-dune.github.io/pp/"
29
29
  bug-reports: "https://github.com/ocaml-dune/pp/issues"
30
30
  depends: [
31
- "dune" {>= "2.0"}
31
+ "dune" {>= "2.8"}
32
32
  "ocaml" {>= "4.08.0"}
33
33
  "ppx_expect" {with-test}
34
+ "odoc" {with-doc}
34
35
  ]
35
36
  build: [
36
37
  ["dune" "subst"] {dev}
@@ -47,12 +48,12 @@ build: [
47
48
  ]
48
49
  ]
49
50
  dev-repo: "git+https://github.com/ocaml-dune/pp.git"
50
- x-commit-hash: "395b95c89cfe2c6d538dad9d56721b6a7278d46c"
51
51
  url {
52
52
  src:
53
- "https://github.com/ocaml-dune/pp/releases/download/1.1.2/pp-1.1.2.tbz"
53
+ "https://github.com/ocaml-dune/pp/releases/download/1.2.0/pp-1.2.0.tbz"
54
54
  checksum: [
55
- "sha256=e4a4e98d96b1bb76950fcd6da4e938c86d989df4d7e48f02f7a44595f5af1d56"
56
- "sha512=58f78b083483006b40814be9aac33c895349eb1c6427d2762b4d760192613401262478bd5deff909763517560b06af7bf013c6a6f87d549aafa77b26345303f2"
55
+ "sha256=a5e822573c55afb42db29ec56eacd1f2acd8f65cf2df2878e291de374ce6909c"
56
+ "sha512=912164c2aa7241d73f735dadfbefe8ed0138d241579d2e885440e068fac78eb9f0b3d782c2420e757e313168c1725daff6ab91800dd315b1e05288456998b40a"
57
57
  ]
58
58
  }
59
+ x-commit-hash: "83b68c740f21acdcfe54436355ab328372871357"
@@ -8,7 +8,7 @@ authors: [
8
8
  "Rudi Grinberg"
9
9
  "Gabriel Radanne"
10
10
  ]
11
- license: "LGPL-2.0-or-later WITH OCaml-LGPL-linking-exception"
11
+ license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
12
12
  homepage: "https://github.com/ocaml/ocaml-re"
13
13
  bug-reports: "https://github.com/ocaml/ocaml-re/issues"
14
14
  dev-repo: "git+https://github.com/ocaml/ocaml-re.git"
@@ -37,10 +37,10 @@ Pure OCaml regular expressions with:
37
37
  """
38
38
  url {
39
39
  src:
40
- "https://github.com/ocaml/ocaml-re/releases/download/1.10.4/re-1.10.4.tbz"
40
+ "https://github.com/ocaml/ocaml-re/releases/download/1.11.0/re-1.11.0.tbz"
41
41
  checksum: [
42
- "sha256=83eb3e4300aa9b1dc7820749010f4362ea83524742130524d78c20ce99ca747c"
43
- "sha512=92b05cf92c389fa8c753f2acca837b15dd05a4a2e8e2bec7a269d2e14c35b1a786d394258376648f80b4b99250ba1900cfe68230b8385aeac153149d9ce56099"
42
+ "sha256=01fc244780c0f6be72ae796b1fb750f367de18624fd75d07ee79782ed6df8d4f"
43
+ "sha512=3e3712cc1266ec1f27620f3508ea2ebba338f4083b07d8a69dccee1facfdc1971a6c39f9deea664d2a62fd7f2cfd2eae816ca4c274acfadaee992a3befc4b757"
44
44
  ]
45
45
  }
46
- x-commit-hash: "e9a4cecb8294c1839db18b1d0c30e755ec85ed5e"
46
+ x-commit-hash: "2dd38515c76c40299596d39f18d9b9a20f00d788"
@@ -35,10 +35,11 @@ build: [
35
35
  ]
36
36
  ]
37
37
  url {
38
- src: "https://github.com/ocaml/dune/releases/download/3.9.0/dune-3.9.0.tbz"
38
+ src:
39
+ "https://github.com/ocaml/dune/releases/download/3.10.0/dune-3.10.0.tbz"
39
40
  checksum: [
40
- "sha256=c4825a9de454aedf450c2db25ac353033e31d326a9d1b4b7a2cd7260639bd544"
41
- "sha512=55d83bfee7c741cb5b74187674f9ef992ddf0b149f8d22a0a392c4c8ddf1075e9192eebd81cf36c115331cd96e10824100c6c338835d26c25e965e68ed94673d"
41
+ "sha256=9ff03384a98a8df79852cc674f0b4738ba8aec17029b6e2eeb514f895e710355"
42
+ "sha512=8133cdcc5499a6bf21cd65b4fc8b12445ae39366731006773fcd3b348c553a8d89d004db161c655aa167a2a3653b7919d32b27f29217106ef762bd01b43afc76"
42
43
  ]
43
44
  }
44
- x-commit-hash: "891fa5a7d72655634378425d51a1cf703ff93336"
45
+ x-commit-hash: "fc382520272012638088848d7f3dd1ef6687a284"
@@ -2,14 +2,13 @@ opam-version: "2.0"
2
2
  synopsis: "Unicode character properties for OCaml"
3
3
  description: """\
4
4
  Uucp is an OCaml library providing efficient access to a selection of
5
- character properties of the [Unicode character database][1].
5
+ character properties of the [Unicode character database].
6
6
 
7
- Uucp is independent from any Unicode text data structure and has no
8
- dependencies. It is distributed under the ISC license.
7
+ Uucp is distributed under the ISC license. It has no dependency.
9
8
 
10
- [1]: http://www.unicode.org/reports/tr44/
9
+ Home page: <http://erratique.ch/software/uucp>
11
10
 
12
- Home page: http://erratique.ch/software/uucp"""
11
+ [Unicode character database]: http://www.unicode.org/reports/tr44/"""
13
12
  maintainer: "Daniel Bünzli <daniel.buenzl i@erratique.ch>"
14
13
  authors: "The uucp programmers"
15
14
  license: "ISC"
@@ -18,17 +17,16 @@ homepage: "https://erratique.ch/software/uucp"
18
17
  doc: "https://erratique.ch/software/uucp/doc/"
19
18
  bug-reports: "https://github.com/dbuenzli/uucp/issues"
20
19
  depends: [
21
- "ocaml" {>= "4.03.0"}
20
+ "ocaml" {>= "4.14.0"}
22
21
  "ocamlfind" {build}
23
22
  "ocamlbuild" {build}
24
23
  "topkg" {build & >= "1.0.3"}
25
- "uucd" {with-test}
24
+ "uucd" {with-test & dev & >= "15.1.0" & < "16.0.0"}
26
25
  "uunf" {with-test}
27
- "uutf" {with-test}
28
26
  ]
29
- depopts: ["uutf" "uunf" "cmdliner"]
27
+ depopts: ["uunf" "cmdliner"]
30
28
  conflicts: [
31
- "uutf" {< "1.0.1"}
29
+ "uunf" {< "15.1.0" | >= "16.0.0"}
32
30
  "cmdliner" {< "1.1.0"}
33
31
  ]
34
32
  build: [
@@ -37,8 +35,6 @@ build: [
37
35
  "build"
38
36
  "--dev-pkg"
39
37
  "%{dev}%"
40
- "--with-uutf"
41
- "%{uutf:installed}%"
42
38
  "--with-uunf"
43
39
  "%{uunf:installed}%"
44
40
  "--with-cmdliner"
@@ -49,7 +45,7 @@ post-messages:
49
45
  {failure & (arch = "ppc64" | arch = "arm64")}
50
46
  dev-repo: "git+https://erratique.ch/repos/uucp.git"
51
47
  url {
52
- src: "https://erratique.ch/software/uucp/releases/uucp-15.0.0.tbz"
48
+ src: "https://erratique.ch/software/uucp/releases/uucp-15.1.0.tbz"
53
49
  checksum:
54
- "sha512=ee4acff5666961766321e85e287fb9d5b8d50533319f22bf6f4eceb943242df2d0e0f4e775c4a140f68ca142837938eaa5926e22362215a3365ffe7f8768923b"
50
+ "sha512=998f94fadb72357b15a3042a3d11c31b3e16f281822673f2defdd515cd1394d55de1817628be8bd5c030175f9e62c53630d4139a1c0253800f9fb898b0f11364"
55
51
  }
@@ -3,22 +3,20 @@ synopsis: "Unicode text segmentation for OCaml"
3
3
  description: """\
4
4
  Uuseg is an OCaml library for segmenting Unicode text. It implements
5
5
  the locale independent [Unicode text segmentation algorithms][1] to
6
- detect grapheme cluster, word and sentence boundaries and the
7
- [Unicode line breaking algorithm][2] to detect line break
8
- opportunities.
6
+ detect grapheme cluster, word and sentence boundaries and the [Unicode
7
+ line breaking algorithm][2] to detect line break opportunities.
9
8
 
10
9
  The library is independent from any IO mechanism or Unicode text data
11
10
  structure and it can process text without a complete in-memory
12
11
  representation.
13
12
 
14
- Uuseg depends on [Uucp](http://erratique.ch/software/uucp) and
15
- optionally on [Uutf](http://erratique.ch/software/uutf) for support on
16
- OCaml UTF-X encoded strings. It is distributed under the ISC license.
13
+ Uuseg is distributed under the ISC license. It depends on [Uucp].
17
14
 
18
15
  [1]: http://www.unicode.org/reports/tr29/
19
16
  [2]: http://www.unicode.org/reports/tr14/
17
+ [Uucp]: http://erratique.ch/software/uucp
20
18
 
21
- Homepage: http://erratique.ch/software/uuseg"""
19
+ Homepage: <http://erratique.ch/software/uuseg>"""
22
20
  maintainer: "Daniel Bünzli <daniel.buenzl i@erratique.ch>"
23
21
  authors: "The uuseg programmers"
24
22
  license: "ISC"
@@ -27,11 +25,11 @@ homepage: "https://erratique.ch/software/uuseg"
27
25
  doc: "https://erratique.ch/software/uuseg/doc/"
28
26
  bug-reports: "https://github.com/dbuenzli/uuseg/issues"
29
27
  depends: [
30
- "ocaml" {>= "4.03.0"}
28
+ "ocaml" {>= "4.14.0"}
31
29
  "ocamlfind" {build}
32
30
  "ocamlbuild" {build}
33
31
  "topkg" {build & >= "1.0.3"}
34
- "uucp" {>= "15.0.0" & < "16.0.0"}
32
+ "uucp" {>= "15.1.0" & < "16.0.0"}
35
33
  ]
36
34
  depopts: ["uutf" "cmdliner"]
37
35
  conflicts: [
@@ -51,7 +49,7 @@ build: [
51
49
  ]
52
50
  dev-repo: "git+https://erratique.ch/repos/uuseg.git"
53
51
  url {
54
- src: "https://erratique.ch/software/uuseg/releases/uuseg-15.0.0.tbz"
52
+ src: "https://erratique.ch/software/uuseg/releases/uuseg-15.1.0.tbz"
55
53
  checksum:
56
- "sha512=37ea83b582dd779a026cfae11f08f5d67ef79fce65a2cf03f2a9aabc7eb5de60c8e812524fa7531e4ff6e22a3b18228e3438a0143ce43be95f23237cc283576f"
54
+ "sha512=1e9460dc5a856c985d40c61fd1560bdfdb8bbaf8d7430405814589b47d4a7f7869658d1e3198c7a9132412e9b4b85402ceb4bda5040da426b69e9aef4222a23a"
57
55
  }
@@ -30,10 +30,11 @@ build: [
30
30
  ]
31
31
  ]
32
32
  url {
33
- src: "https://github.com/ocaml/dune/releases/download/3.9.0/dune-3.9.0.tbz"
33
+ src:
34
+ "https://github.com/ocaml/dune/releases/download/3.10.0/dune-3.10.0.tbz"
34
35
  checksum: [
35
- "sha256=c4825a9de454aedf450c2db25ac353033e31d326a9d1b4b7a2cd7260639bd544"
36
- "sha512=55d83bfee7c741cb5b74187674f9ef992ddf0b149f8d22a0a392c4c8ddf1075e9192eebd81cf36c115331cd96e10824100c6c338835d26c25e965e68ed94673d"
36
+ "sha256=9ff03384a98a8df79852cc674f0b4738ba8aec17029b6e2eeb514f895e710355"
37
+ "sha512=8133cdcc5499a6bf21cd65b4fc8b12445ae39366731006773fcd3b348c553a8d89d004db161c655aa167a2a3653b7919d32b27f29217106ef762bd01b43afc76"
37
38
  ]
38
39
  }
39
- x-commit-hash: "891fa5a7d72655634378425d51a1cf703ff93336"
40
+ x-commit-hash: "fc382520272012638088848d7f3dd1ef6687a284"
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@grain/binaryen.ml",
3
- "version": "0.21.0",
3
+ "version": "0.23.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.12.0",
9
- "@grain/libbinaryen": ">= 111.0.0 < 112.0.0",
9
+ "@grain/libbinaryen": ">= 113.0.0 < 114.0.0",
10
10
  "@opam/dune": ">= 3.0.0",
11
11
  "@opam/dune-configurator": ">= 3.0.0"
12
12
  },
binaryen-archive/src/dune CHANGED
@@ -23,7 +23,6 @@
23
23
  heap_type
24
24
  signature_type
25
25
  struct_type
26
- type_system
27
26
  ocaml_helpers)
28
27
  (flags :standard -O2 -Wall -Wextra))
29
28
  (js_of_ocaml
@@ -45,5 +44,4 @@
45
44
  packed_type.js
46
45
  heap_type.js
47
46
  signature_type.js
48
- struct_type.js
49
- type_system.js)))
47
+ struct_type.js)))
@@ -356,7 +356,7 @@ caml_binaryen_memory_init(value _module, value _segment, value _dest, value _off
356
356
  CAMLparam5(_module, _segment, _dest, _offset, _size);
357
357
  CAMLxparam1(_memoryName);
358
358
  BinaryenModuleRef module = BinaryenModuleRef_val(_module);
359
- uint32_t segment = Int_val(_segment);
359
+ char* segment = Safe_String_val(_segment);
360
360
  BinaryenExpressionRef dest = BinaryenExpressionRef_val(_dest);
361
361
  BinaryenExpressionRef offset = BinaryenExpressionRef_val(_offset);
362
362
  BinaryenExpressionRef size = BinaryenExpressionRef_val(_size);
@@ -373,7 +373,7 @@ CAMLprim value
373
373
  caml_binaryen_data_drop(value _module, value _segment) {
374
374
  CAMLparam2(_module, _segment);
375
375
  BinaryenModuleRef module = BinaryenModuleRef_val(_module);
376
- uint32_t segment = Int_val(_segment);
376
+ char* segment = Safe_String_val(_segment);
377
377
  BinaryenExpressionRef exp = BinaryenDataDrop(module, segment);
378
378
  CAMLreturn(alloc_BinaryenExpressionRef(exp));
379
379
  }
@@ -441,6 +441,25 @@ caml_binaryen_pop(value _module, value _ty) {
441
441
  CAMLreturn(alloc_BinaryenExpressionRef(exp));
442
442
  }
443
443
 
444
+ CAMLprim value
445
+ caml_binaryen_i31_new(value _module, value _val) {
446
+ CAMLparam2(_module, _val);
447
+ BinaryenModuleRef module = BinaryenModuleRef_val(_module);
448
+ BinaryenExpressionRef val = BinaryenExpressionRef_val(_val);
449
+ BinaryenExpressionRef exp = BinaryenI31New(module, val);
450
+ CAMLreturn(alloc_BinaryenExpressionRef(exp));
451
+ }
452
+
453
+ CAMLprim value
454
+ caml_binaryen_i31_get(value _module, value _val, value _signed) {
455
+ CAMLparam3(_module, _val, _signed);
456
+ BinaryenModuleRef module = BinaryenModuleRef_val(_module);
457
+ BinaryenExpressionRef val = BinaryenExpressionRef_val(_val);
458
+ bool isSigned = Bool_val(_signed);
459
+ BinaryenExpressionRef exp = BinaryenI31Get(module, val, isSigned);
460
+ CAMLreturn(alloc_BinaryenExpressionRef(exp));
461
+ }
462
+
444
463
  CAMLprim value
445
464
  caml_binaryen_expression_id_invalid(value unit) {
446
465
  CAMLparam1(unit);
@@ -653,9 +672,9 @@ caml_binaryen_expression_id_ref_null(value unit) {
653
672
  CAMLreturn(Val_int(BinaryenRefNullId()));
654
673
  }
655
674
  CAMLprim value
656
- caml_binaryen_expression_id_ref_is(value unit) {
675
+ caml_binaryen_expression_id_ref_is_null(value unit) {
657
676
  CAMLparam1(unit);
658
- CAMLreturn(Val_int(BinaryenRefIsId()));
677
+ CAMLreturn(Val_int(BinaryenRefIsNullId()));
659
678
  }
660
679
  CAMLprim value
661
680
  caml_binaryen_expression_id_ref_as(value unit) {
@@ -1577,14 +1596,14 @@ CAMLprim value
1577
1596
  caml_binaryen_memory_init_get_segment(value _exp) {
1578
1597
  CAMLparam1(_exp);
1579
1598
  BinaryenExpressionRef exp = BinaryenExpressionRef_val(_exp);
1580
- CAMLreturn(Val_int(BinaryenMemoryInitGetSegment(exp)));
1599
+ CAMLreturn(caml_copy_string(BinaryenMemoryInitGetSegment(exp)));
1581
1600
  }
1582
1601
 
1583
1602
  CAMLprim value
1584
1603
  caml_binaryen_memory_init_set_segment(value _exp, value _value) {
1585
1604
  CAMLparam2(_exp, _value);
1586
1605
  BinaryenExpressionRef exp = BinaryenExpressionRef_val(_exp);
1587
- uint32_t val = Int_val(_value);
1606
+ char* val = Safe_String_val(_value);
1588
1607
  BinaryenMemoryInitSetSegment(exp, val);
1589
1608
  CAMLreturn(Val_unit);
1590
1609
  }
@@ -1629,27 +1648,27 @@ caml_binaryen_memory_init_get_size(value _exp) {
1629
1648
  }
1630
1649
 
1631
1650
  CAMLprim value
1632
- caml_binaryen_memory_init_set_size(value _exp, value _value) {
1633
- CAMLparam2(_exp, _value);
1634
- BinaryenExpressionRef exp = BinaryenExpressionRef_val(_exp);
1635
- BinaryenExpressionRef val = BinaryenExpressionRef_val(_value);
1636
- BinaryenMemoryInitSetSize(exp, val);
1651
+ caml_binaryen_memory_init_set_size(value _expr, value _segment) {
1652
+ CAMLparam2(_expr, _segment);
1653
+ BinaryenExpressionRef expr = BinaryenExpressionRef_val(_expr);
1654
+ BinaryenExpressionRef segment = BinaryenExpressionRef_val(_segment);
1655
+ BinaryenMemoryInitSetSize(expr, segment);
1637
1656
  CAMLreturn(Val_unit);
1638
1657
  }
1639
1658
 
1640
1659
  CAMLprim value
1641
- caml_binaryen_data_drop_get_segment(value _exp) {
1642
- CAMLparam1(_exp);
1643
- BinaryenExpressionRef exp = BinaryenExpressionRef_val(_exp);
1644
- CAMLreturn(Val_int(BinaryenDataDropGetSegment(exp)));
1660
+ caml_binaryen_data_drop_get_segment(value _expr) {
1661
+ CAMLparam1(_expr);
1662
+ BinaryenExpressionRef expr = BinaryenExpressionRef_val(_expr);
1663
+ CAMLreturn(caml_copy_string(BinaryenDataDropGetSegment(expr)));
1645
1664
  }
1646
1665
 
1647
1666
  CAMLprim value
1648
- caml_binaryen_data_drop_set_segment(value _exp, value _value) {
1649
- CAMLparam2(_exp, _value);
1650
- BinaryenExpressionRef exp = BinaryenExpressionRef_val(_exp);
1651
- uint32_t val = Int_val(_value);
1652
- BinaryenDataDropSetSegment(exp, val);
1667
+ caml_binaryen_data_drop_set_segment(value _expr, value _segment) {
1668
+ CAMLparam2(_expr, _segment);
1669
+ BinaryenExpressionRef expr = BinaryenExpressionRef_val(_expr);
1670
+ char* segment = Safe_String_val(_segment);
1671
+ BinaryenDataDropSetSegment(expr, segment);
1653
1672
  CAMLreturn(Val_unit);
1654
1673
  }
1655
1674
 
@@ -1827,12 +1846,11 @@ caml_binaryen_ref_null(value _module, value _ty) {
1827
1846
  }
1828
1847
 
1829
1848
  CAMLprim value
1830
- caml_binaryen_ref_is(value _module, value _op, value _value) {
1831
- CAMLparam3(_module, _op, _value);
1849
+ caml_binaryen_ref_is_null(value _module, value _value) {
1850
+ CAMLparam2(_module, _value);
1832
1851
  BinaryenModuleRef module = BinaryenModuleRef_val(_module);
1833
- BinaryenOp op = BinaryenOp_val(_op);
1834
1852
  BinaryenExpressionRef val = BinaryenExpressionRef_val(_value);
1835
- BinaryenExpressionRef exp = BinaryenRefIs(module, op, val);
1853
+ BinaryenExpressionRef exp = BinaryenRefIsNull(module, val);
1836
1854
  CAMLreturn(alloc_BinaryenExpressionRef(exp));
1837
1855
  }
1838
1856