@grain/binaryen.ml 0.22.0 → 0.24.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.
- binaryen-archive/CHANGELOG.md +36 -0
- binaryen-archive/binaryen.opam +2 -2
- binaryen-archive/esy.lock/index.json +269 -266
- binaryen-archive/esy.lock/opam/{base.v0.16.1 → base.v0.16.3}/opam +3 -3
- binaryen-archive/esy.lock/opam/{chrome-trace.3.9.1 → chrome-trace.3.11.1}/opam +5 -4
- binaryen-archive/esy.lock/opam/{dune-build-info.3.9.1 → dune-build-info.3.11.1}/opam +5 -4
- binaryen-archive/esy.lock/opam/{dune-configurator.3.9.1 → dune-configurator.3.11.1}/opam +5 -4
- binaryen-archive/esy.lock/opam/{dune-rpc.3.9.1 → dune-rpc.3.11.1}/opam +5 -4
- binaryen-archive/esy.lock/opam/{dune.3.9.1 → dune.3.11.1}/opam +5 -4
- binaryen-archive/esy.lock/opam/{dyn.3.9.1 → dyn.3.11.1}/opam +5 -4
- binaryen-archive/esy.lock/opam/{ocamlformat-rpc-lib.0.25.1 → ocamlformat-rpc-lib.0.26.1}/opam +16 -6
- binaryen-archive/esy.lock/opam/ocamlformat.0.24.1/opam +1 -1
- binaryen-archive/esy.lock/opam/{ordering.3.9.1 → ordering.3.11.1}/opam +5 -4
- binaryen-archive/esy.lock/opam/{pp.1.1.2 → pp.1.2.0}/opam +7 -6
- binaryen-archive/esy.lock/opam/{re.1.10.4 → re.1.11.0}/opam +5 -5
- binaryen-archive/esy.lock/opam/{stdune.3.9.1 → stdune.3.11.1}/opam +6 -5
- binaryen-archive/esy.lock/opam/{uucp.15.0.0 → uucp.15.1.0}/opam +10 -14
- binaryen-archive/esy.lock/opam/{uuseg.15.0.0 → uuseg.15.1.0}/opam +9 -11
- binaryen-archive/esy.lock/opam/{xdg.3.9.1 → xdg.3.11.1}/opam +5 -4
- binaryen-archive/esy.lock/opam/{yojson.2.1.0 → yojson.2.1.1}/opam +4 -4
- binaryen-archive/package.json +3 -3
- binaryen-archive/src/dune +1 -3
- binaryen-archive/src/expression.c +18 -18
- binaryen-archive/src/expression.js +15 -10
- binaryen-archive/src/expression.ml +25 -6
- binaryen-archive/src/op.c +18 -4
- binaryen-archive/src/op.js +18 -6
- binaryen-archive/src/op.ml +16 -5
- binaryen-archive/src/op.mli +4 -2
- binaryen-archive/src/passes.ml +4 -1
- binaryen-archive/src/passes.mli +3 -0
- binaryen-archive/test/test.expected +18 -18
- binaryen-archive/test/test.ml +1 -0
- binaryen-archive/src/type_system.c +0 -34
- binaryen-archive/src/type_system.js +0 -23
- binaryen-archive/src/type_system.ml +0 -6
- binaryen-archive/src/type_system.mli +0 -6
|
@@ -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.
|
|
34
|
+
src: "https://github.com/janestreet/base/archive/refs/tags/v0.16.3.tar.gz"
|
|
35
35
|
checksum: [
|
|
36
|
-
"md5=
|
|
37
|
-
"sha512=
|
|
36
|
+
"md5=04572fc23a4651604cfcab83f720cb4c"
|
|
37
|
+
"sha512=69380ed392faf4495459f97f70a10a6959fce71d2e6ba093472fc272141646307fd7872407de855dfa48ef0435f6587eae5aa50f4a67eac40a9e1946d0c3c070"
|
|
38
38
|
]
|
|
39
39
|
}
|
|
@@ -30,10 +30,11 @@ build: [
|
|
|
30
30
|
]
|
|
31
31
|
]
|
|
32
32
|
url {
|
|
33
|
-
src:
|
|
33
|
+
src:
|
|
34
|
+
"https://github.com/ocaml/dune/releases/download/3.11.1/dune-3.11.1.tbz"
|
|
34
35
|
checksum: [
|
|
35
|
-
"sha256=
|
|
36
|
-
"sha512=
|
|
36
|
+
"sha256=866f2307adadaf7604f3bf9d98bb4098792baa046953a6726c96c40fc5ed3f71"
|
|
37
|
+
"sha512=c888153b204a16bcfed2636de776bbd5f9ca84484e716cc1e9ef3ba3c904e9dd15a2609ae943cddb6097912623ec54618c58386d6730ff742d746850400fb3cc"
|
|
37
38
|
]
|
|
38
39
|
}
|
|
39
|
-
x-commit-hash: "
|
|
40
|
+
x-commit-hash: "7cbb0e7277c6cacd1ccf7941cac5a03c25fc63cf"
|
|
@@ -36,10 +36,11 @@ build: [
|
|
|
36
36
|
]
|
|
37
37
|
]
|
|
38
38
|
url {
|
|
39
|
-
src:
|
|
39
|
+
src:
|
|
40
|
+
"https://github.com/ocaml/dune/releases/download/3.11.1/dune-3.11.1.tbz"
|
|
40
41
|
checksum: [
|
|
41
|
-
"sha256=
|
|
42
|
-
"sha512=
|
|
42
|
+
"sha256=866f2307adadaf7604f3bf9d98bb4098792baa046953a6726c96c40fc5ed3f71"
|
|
43
|
+
"sha512=c888153b204a16bcfed2636de776bbd5f9ca84484e716cc1e9ef3ba3c904e9dd15a2609ae943cddb6097912623ec54618c58386d6730ff742d746850400fb3cc"
|
|
43
44
|
]
|
|
44
45
|
}
|
|
45
|
-
x-commit-hash: "
|
|
46
|
+
x-commit-hash: "7cbb0e7277c6cacd1ccf7941cac5a03c25fc63cf"
|
|
@@ -40,10 +40,11 @@ build: [
|
|
|
40
40
|
]
|
|
41
41
|
]
|
|
42
42
|
url {
|
|
43
|
-
src:
|
|
43
|
+
src:
|
|
44
|
+
"https://github.com/ocaml/dune/releases/download/3.11.1/dune-3.11.1.tbz"
|
|
44
45
|
checksum: [
|
|
45
|
-
"sha256=
|
|
46
|
-
"sha512=
|
|
46
|
+
"sha256=866f2307adadaf7604f3bf9d98bb4098792baa046953a6726c96c40fc5ed3f71"
|
|
47
|
+
"sha512=c888153b204a16bcfed2636de776bbd5f9ca84484e716cc1e9ef3ba3c904e9dd15a2609ae943cddb6097912623ec54618c58386d6730ff742d746850400fb3cc"
|
|
47
48
|
]
|
|
48
49
|
}
|
|
49
|
-
x-commit-hash: "
|
|
50
|
+
x-commit-hash: "7cbb0e7277c6cacd1ccf7941cac5a03c25fc63cf"
|
|
@@ -34,10 +34,11 @@ build: [
|
|
|
34
34
|
]
|
|
35
35
|
]
|
|
36
36
|
url {
|
|
37
|
-
src:
|
|
37
|
+
src:
|
|
38
|
+
"https://github.com/ocaml/dune/releases/download/3.11.1/dune-3.11.1.tbz"
|
|
38
39
|
checksum: [
|
|
39
|
-
"sha256=
|
|
40
|
-
"sha512=
|
|
40
|
+
"sha256=866f2307adadaf7604f3bf9d98bb4098792baa046953a6726c96c40fc5ed3f71"
|
|
41
|
+
"sha512=c888153b204a16bcfed2636de776bbd5f9ca84484e716cc1e9ef3ba3c904e9dd15a2609ae943cddb6097912623ec54618c58386d6730ff742d746850400fb3cc"
|
|
41
42
|
]
|
|
42
43
|
}
|
|
43
|
-
x-commit-hash: "
|
|
44
|
+
x-commit-hash: "7cbb0e7277c6cacd1ccf7941cac5a03c25fc63cf"
|
|
@@ -47,10 +47,11 @@ depends: [
|
|
|
47
47
|
"base-threads"
|
|
48
48
|
]
|
|
49
49
|
url {
|
|
50
|
-
src:
|
|
50
|
+
src:
|
|
51
|
+
"https://github.com/ocaml/dune/releases/download/3.11.1/dune-3.11.1.tbz"
|
|
51
52
|
checksum: [
|
|
52
|
-
"sha256=
|
|
53
|
-
"sha512=
|
|
53
|
+
"sha256=866f2307adadaf7604f3bf9d98bb4098792baa046953a6726c96c40fc5ed3f71"
|
|
54
|
+
"sha512=c888153b204a16bcfed2636de776bbd5f9ca84484e716cc1e9ef3ba3c904e9dd15a2609ae943cddb6097912623ec54618c58386d6730ff742d746850400fb3cc"
|
|
54
55
|
]
|
|
55
56
|
}
|
|
56
|
-
x-commit-hash: "
|
|
57
|
+
x-commit-hash: "7cbb0e7277c6cacd1ccf7941cac5a03c25fc63cf"
|
|
@@ -31,10 +31,11 @@ build: [
|
|
|
31
31
|
]
|
|
32
32
|
]
|
|
33
33
|
url {
|
|
34
|
-
src:
|
|
34
|
+
src:
|
|
35
|
+
"https://github.com/ocaml/dune/releases/download/3.11.1/dune-3.11.1.tbz"
|
|
35
36
|
checksum: [
|
|
36
|
-
"sha256=
|
|
37
|
-
"sha512=
|
|
37
|
+
"sha256=866f2307adadaf7604f3bf9d98bb4098792baa046953a6726c96c40fc5ed3f71"
|
|
38
|
+
"sha512=c888153b204a16bcfed2636de776bbd5f9ca84484e716cc1e9ef3ba3c904e9dd15a2609ae943cddb6097912623ec54618c58386d6730ff742d746850400fb3cc"
|
|
38
39
|
]
|
|
39
40
|
}
|
|
40
|
-
x-commit-hash: "
|
|
41
|
+
x-commit-hash: "7cbb0e7277c6cacd1ccf7941cac5a03c25fc63cf"
|
binaryen-archive/esy.lock/opam/{ocamlformat-rpc-lib.0.25.1 → ocamlformat-rpc-lib.0.26.1}/opam
RENAMED
|
@@ -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: [
|
|
6
|
-
|
|
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.
|
|
43
|
+
"https://github.com/ocaml-ppx/ocamlformat/releases/download/0.26.1/ocamlformat-0.26.1.tbz"
|
|
34
44
|
checksum: [
|
|
35
|
-
"sha256=
|
|
36
|
-
"sha512=
|
|
45
|
+
"sha256=da006e427f15b9ec612fb808d446599bd9b7c3ee25abeb3d555747a70d74c6d7"
|
|
46
|
+
"sha512=b7413f8dc47ba3a2372e89d59cae54f9a602ab81e31cd14ed986a831111080b79a5a3cc45dac04d8ffae5054c35bf29fe9559f145c76c87a30e191ed5400942a"
|
|
37
47
|
]
|
|
38
48
|
}
|
|
39
|
-
x-commit-hash: "
|
|
49
|
+
x-commit-hash: "6734dfc1992eb782f0a936ce3cd7c78b7c1d39d3"
|
|
@@ -22,7 +22,7 @@ depends: [
|
|
|
22
22
|
"ocaml-version" {>= "3.3.0" & < "3.6.0"}
|
|
23
23
|
"ocamlformat-rpc-lib" {with-test & = version}
|
|
24
24
|
"ocp-indent"
|
|
25
|
-
"odoc-parser" {>= "2.0.0" & < "3.0
|
|
25
|
+
"odoc-parser" {>= "2.0.0" & < "2.3.0"}
|
|
26
26
|
"re" {>= "1.7.2"}
|
|
27
27
|
"stdio"
|
|
28
28
|
"uuseg" {>= "10.0.0"}
|
|
@@ -29,10 +29,11 @@ build: [
|
|
|
29
29
|
]
|
|
30
30
|
]
|
|
31
31
|
url {
|
|
32
|
-
src:
|
|
32
|
+
src:
|
|
33
|
+
"https://github.com/ocaml/dune/releases/download/3.11.1/dune-3.11.1.tbz"
|
|
33
34
|
checksum: [
|
|
34
|
-
"sha256=
|
|
35
|
-
"sha512=
|
|
35
|
+
"sha256=866f2307adadaf7604f3bf9d98bb4098792baa046953a6726c96c40fc5ed3f71"
|
|
36
|
+
"sha512=c888153b204a16bcfed2636de776bbd5f9ca84484e716cc1e9ef3ba3c904e9dd15a2609ae943cddb6097912623ec54618c58386d6730ff742d746850400fb3cc"
|
|
36
37
|
]
|
|
37
38
|
}
|
|
38
|
-
x-commit-hash: "
|
|
39
|
+
x-commit-hash: "7cbb0e7277c6cacd1ccf7941cac5a03c25fc63cf"
|
|
@@ -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.
|
|
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.
|
|
53
|
+
"https://github.com/ocaml-dune/pp/releases/download/1.2.0/pp-1.2.0.tbz"
|
|
54
54
|
checksum: [
|
|
55
|
-
"sha256=
|
|
56
|
-
"sha512=
|
|
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.
|
|
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.
|
|
40
|
+
"https://github.com/ocaml/ocaml-re/releases/download/1.11.0/re-1.11.0.tbz"
|
|
41
41
|
checksum: [
|
|
42
|
-
"sha256=
|
|
43
|
-
"sha512=
|
|
42
|
+
"sha256=01fc244780c0f6be72ae796b1fb750f367de18624fd75d07ee79782ed6df8d4f"
|
|
43
|
+
"sha512=3e3712cc1266ec1f27620f3508ea2ebba338f4083b07d8a69dccee1facfdc1971a6c39f9deea664d2a62fd7f2cfd2eae816ca4c274acfadaee992a3befc4b757"
|
|
44
44
|
]
|
|
45
45
|
}
|
|
46
|
-
x-commit-hash: "
|
|
46
|
+
x-commit-hash: "2dd38515c76c40299596d39f18d9b9a20f00d788"
|
|
@@ -14,7 +14,7 @@ depends: [
|
|
|
14
14
|
"base-unix"
|
|
15
15
|
"dyn" {= version}
|
|
16
16
|
"ordering" {= version}
|
|
17
|
-
"pp" {>= "1.
|
|
17
|
+
"pp" {>= "1.2.0"}
|
|
18
18
|
"csexp" {>= "1.5.0"}
|
|
19
19
|
"odoc" {with-doc}
|
|
20
20
|
]
|
|
@@ -35,10 +35,11 @@ build: [
|
|
|
35
35
|
]
|
|
36
36
|
]
|
|
37
37
|
url {
|
|
38
|
-
src:
|
|
38
|
+
src:
|
|
39
|
+
"https://github.com/ocaml/dune/releases/download/3.11.1/dune-3.11.1.tbz"
|
|
39
40
|
checksum: [
|
|
40
|
-
"sha256=
|
|
41
|
-
"sha512=
|
|
41
|
+
"sha256=866f2307adadaf7604f3bf9d98bb4098792baa046953a6726c96c40fc5ed3f71"
|
|
42
|
+
"sha512=c888153b204a16bcfed2636de776bbd5f9ca84484e716cc1e9ef3ba3c904e9dd15a2609ae943cddb6097912623ec54618c58386d6730ff742d746850400fb3cc"
|
|
42
43
|
]
|
|
43
44
|
}
|
|
44
|
-
x-commit-hash: "
|
|
45
|
+
x-commit-hash: "7cbb0e7277c6cacd1ccf7941cac5a03c25fc63cf"
|
|
@@ -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]
|
|
5
|
+
character properties of the [Unicode character database].
|
|
6
6
|
|
|
7
|
-
Uucp is
|
|
8
|
-
dependencies. It is distributed under the ISC license.
|
|
7
|
+
Uucp is distributed under the ISC license. It has no dependency.
|
|
9
8
|
|
|
10
|
-
|
|
9
|
+
Home page: <http://erratique.ch/software/uucp>
|
|
11
10
|
|
|
12
|
-
|
|
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.
|
|
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: ["
|
|
27
|
+
depopts: ["uunf" "cmdliner"]
|
|
30
28
|
conflicts: [
|
|
31
|
-
"
|
|
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.
|
|
48
|
+
src: "https://erratique.ch/software/uucp/releases/uucp-15.1.0.tbz"
|
|
53
49
|
checksum:
|
|
54
|
-
"sha512=
|
|
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
|
-
|
|
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]
|
|
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.
|
|
28
|
+
"ocaml" {>= "4.14.0"}
|
|
31
29
|
"ocamlfind" {build}
|
|
32
30
|
"ocamlbuild" {build}
|
|
33
31
|
"topkg" {build & >= "1.0.3"}
|
|
34
|
-
"uucp" {>= "15.
|
|
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.
|
|
52
|
+
src: "https://erratique.ch/software/uuseg/releases/uuseg-15.1.0.tbz"
|
|
55
53
|
checksum:
|
|
56
|
-
"sha512=
|
|
54
|
+
"sha512=1e9460dc5a856c985d40c61fd1560bdfdb8bbaf8d7430405814589b47d4a7f7869658d1e3198c7a9132412e9b4b85402ceb4bda5040da426b69e9aef4222a23a"
|
|
57
55
|
}
|
|
@@ -30,10 +30,11 @@ build: [
|
|
|
30
30
|
]
|
|
31
31
|
]
|
|
32
32
|
url {
|
|
33
|
-
src:
|
|
33
|
+
src:
|
|
34
|
+
"https://github.com/ocaml/dune/releases/download/3.11.1/dune-3.11.1.tbz"
|
|
34
35
|
checksum: [
|
|
35
|
-
"sha256=
|
|
36
|
-
"sha512=
|
|
36
|
+
"sha256=866f2307adadaf7604f3bf9d98bb4098792baa046953a6726c96c40fc5ed3f71"
|
|
37
|
+
"sha512=c888153b204a16bcfed2636de776bbd5f9ca84484e716cc1e9ef3ba3c904e9dd15a2609ae943cddb6097912623ec54618c58386d6730ff742d746850400fb3cc"
|
|
37
38
|
]
|
|
38
39
|
}
|
|
39
|
-
x-commit-hash: "
|
|
40
|
+
x-commit-hash: "7cbb0e7277c6cacd1ccf7941cac5a03c25fc63cf"
|
|
@@ -39,10 +39,10 @@ build: [
|
|
|
39
39
|
dev-repo: "git+https://github.com/ocaml-community/yojson.git"
|
|
40
40
|
url {
|
|
41
41
|
src:
|
|
42
|
-
"https://github.com/ocaml-community/yojson/releases/download/2.1.
|
|
42
|
+
"https://github.com/ocaml-community/yojson/releases/download/2.1.1/yojson-2.1.1.tbz"
|
|
43
43
|
checksum: [
|
|
44
|
-
"sha256=
|
|
45
|
-
"sha512=
|
|
44
|
+
"sha256=d58183207b198dc065866239066e074c34f9e139c0d9c4175a38809790e88173"
|
|
45
|
+
"sha512=f7b8529900acb29bc6236d8312d3ebcadbcb3f9d361c8acaed9f7fc7e30527b41a1f3cff80382dde445e6da18a4edc5a9c6758af24affce1022d0741dbd9daeb"
|
|
46
46
|
]
|
|
47
47
|
}
|
|
48
|
-
x-commit-hash: "
|
|
48
|
+
x-commit-hash: "57bc8ca0eaf5bdb423fcdece49ea0d1c2866f90c"
|
binaryen-archive/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@grain/binaryen.ml",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.24.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
|
-
"ocaml": ">= 4.12.0",
|
|
9
|
-
"@grain/libbinaryen": ">=
|
|
8
|
+
"ocaml": ">= 4.12.0 < 5.0.0",
|
|
9
|
+
"@grain/libbinaryen": ">= 114.0.0 < 115.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
|
-
|
|
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
|
-
|
|
376
|
+
char* segment = Safe_String_val(_segment);
|
|
377
377
|
BinaryenExpressionRef exp = BinaryenDataDrop(module, segment);
|
|
378
378
|
CAMLreturn(alloc_BinaryenExpressionRef(exp));
|
|
379
379
|
}
|
|
@@ -1596,14 +1596,14 @@ CAMLprim value
|
|
|
1596
1596
|
caml_binaryen_memory_init_get_segment(value _exp) {
|
|
1597
1597
|
CAMLparam1(_exp);
|
|
1598
1598
|
BinaryenExpressionRef exp = BinaryenExpressionRef_val(_exp);
|
|
1599
|
-
CAMLreturn(
|
|
1599
|
+
CAMLreturn(caml_copy_string(BinaryenMemoryInitGetSegment(exp)));
|
|
1600
1600
|
}
|
|
1601
1601
|
|
|
1602
1602
|
CAMLprim value
|
|
1603
1603
|
caml_binaryen_memory_init_set_segment(value _exp, value _value) {
|
|
1604
1604
|
CAMLparam2(_exp, _value);
|
|
1605
1605
|
BinaryenExpressionRef exp = BinaryenExpressionRef_val(_exp);
|
|
1606
|
-
|
|
1606
|
+
char* val = Safe_String_val(_value);
|
|
1607
1607
|
BinaryenMemoryInitSetSegment(exp, val);
|
|
1608
1608
|
CAMLreturn(Val_unit);
|
|
1609
1609
|
}
|
|
@@ -1648,27 +1648,27 @@ caml_binaryen_memory_init_get_size(value _exp) {
|
|
|
1648
1648
|
}
|
|
1649
1649
|
|
|
1650
1650
|
CAMLprim value
|
|
1651
|
-
caml_binaryen_memory_init_set_size(value
|
|
1652
|
-
CAMLparam2(
|
|
1653
|
-
BinaryenExpressionRef
|
|
1654
|
-
BinaryenExpressionRef
|
|
1655
|
-
BinaryenMemoryInitSetSize(
|
|
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);
|
|
1656
1656
|
CAMLreturn(Val_unit);
|
|
1657
1657
|
}
|
|
1658
1658
|
|
|
1659
1659
|
CAMLprim value
|
|
1660
|
-
caml_binaryen_data_drop_get_segment(value
|
|
1661
|
-
CAMLparam1(
|
|
1662
|
-
BinaryenExpressionRef
|
|
1663
|
-
CAMLreturn(
|
|
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)));
|
|
1664
1664
|
}
|
|
1665
1665
|
|
|
1666
1666
|
CAMLprim value
|
|
1667
|
-
caml_binaryen_data_drop_set_segment(value
|
|
1668
|
-
CAMLparam2(
|
|
1669
|
-
BinaryenExpressionRef
|
|
1670
|
-
|
|
1671
|
-
BinaryenDataDropSetSegment(
|
|
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);
|
|
1672
1672
|
CAMLreturn(Val_unit);
|
|
1673
1673
|
}
|
|
1674
1674
|
|
|
@@ -457,7 +457,7 @@ function caml_binaryen_memory_init(
|
|
|
457
457
|
memoryName
|
|
458
458
|
) {
|
|
459
459
|
return wasm_mod.memory.init(
|
|
460
|
-
segment,
|
|
460
|
+
caml_jsstring_of_string(segment),
|
|
461
461
|
dest,
|
|
462
462
|
offset,
|
|
463
463
|
size,
|
|
@@ -478,8 +478,9 @@ function caml_binaryen_memory_init__bytecode() {
|
|
|
478
478
|
}
|
|
479
479
|
|
|
480
480
|
//Provides: caml_binaryen_data_drop
|
|
481
|
+
//Requires: caml_jsstring_of_string
|
|
481
482
|
function caml_binaryen_data_drop(wasm_mod, segment) {
|
|
482
|
-
return wasm_mod.data.drop(segment);
|
|
483
|
+
return wasm_mod.data.drop(caml_jsstring_of_string(segment));
|
|
483
484
|
}
|
|
484
485
|
|
|
485
486
|
//Provides: caml_binaryen_memory_copy
|
|
@@ -1493,14 +1494,16 @@ function caml_binaryen_return_set_value(exp, value) {
|
|
|
1493
1494
|
|
|
1494
1495
|
//Provides: caml_binaryen_memory_init_get_segment
|
|
1495
1496
|
//Requires: Binaryen
|
|
1496
|
-
|
|
1497
|
-
|
|
1497
|
+
//Requires: caml_string_of_jsstring
|
|
1498
|
+
function caml_binaryen_memory_init_get_segment(expr) {
|
|
1499
|
+
return caml_string_of_jsstring(Binaryen.MemoryInit.getSegment(expr));
|
|
1498
1500
|
}
|
|
1499
1501
|
|
|
1500
1502
|
//Provides: caml_binaryen_memory_init_set_segment
|
|
1501
1503
|
//Requires: Binaryen
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
+
//Requires: caml_jsstring_of_string
|
|
1505
|
+
function caml_binaryen_memory_init_set_segment(expr, segment) {
|
|
1506
|
+
return Binaryen.MemoryInit.setSegment(expr, caml_jsstring_of_string(segment));
|
|
1504
1507
|
}
|
|
1505
1508
|
|
|
1506
1509
|
//Provides: caml_binaryen_memory_init_get_dest
|
|
@@ -1541,14 +1544,16 @@ function caml_binaryen_memory_init_set_size(exp, value) {
|
|
|
1541
1544
|
|
|
1542
1545
|
//Provides: caml_binaryen_data_drop_get_segment
|
|
1543
1546
|
//Requires: Binaryen
|
|
1544
|
-
|
|
1545
|
-
|
|
1547
|
+
//Requires: caml_string_of_jsstring
|
|
1548
|
+
function caml_binaryen_data_drop_get_segment(expr) {
|
|
1549
|
+
return caml_string_of_jsstring(Binaryen.DataDrop.getSegment(expr));
|
|
1546
1550
|
}
|
|
1547
1551
|
|
|
1548
1552
|
//Provides: caml_binaryen_data_drop_set_segment
|
|
1549
1553
|
//Requires: Binaryen
|
|
1550
|
-
|
|
1551
|
-
|
|
1554
|
+
//Requires: caml_jsstring_of_string
|
|
1555
|
+
function caml_binaryen_data_drop_set_segment(expr, segment) {
|
|
1556
|
+
return Binaryen.DataDrop.setSegment(expr, caml_jsstring_of_string(segment));
|
|
1552
1557
|
}
|
|
1553
1558
|
|
|
1554
1559
|
//Provides: caml_binaryen_memory_copy_get_dest
|