@grain/binaryen.ml 0.21.0 → 0.22.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 (37) hide show
  1. binaryen-archive/CHANGELOG.md +34 -0
  2. binaryen-archive/binaryen.opam +2 -2
  3. binaryen-archive/esy.lock/index.json +191 -191
  4. binaryen-archive/esy.lock/opam/{chrome-trace.3.9.0 → chrome-trace.3.9.1}/opam +4 -4
  5. binaryen-archive/esy.lock/opam/{dune-build-info.3.9.0 → dune-build-info.3.9.1}/opam +4 -4
  6. binaryen-archive/esy.lock/opam/{dune-configurator.3.9.0 → dune-configurator.3.9.1}/opam +4 -4
  7. binaryen-archive/esy.lock/opam/{dune-rpc.3.9.0 → dune-rpc.3.9.1}/opam +4 -4
  8. binaryen-archive/esy.lock/opam/{dune.3.9.0 → dune.3.9.1}/opam +4 -4
  9. binaryen-archive/esy.lock/opam/{dyn.3.9.0 → dyn.3.9.1}/opam +4 -4
  10. binaryen-archive/esy.lock/opam/{js_of_ocaml-compiler.5.3.0 → js_of_ocaml-compiler.5.4.0}/opam +5 -5
  11. binaryen-archive/esy.lock/opam/{ordering.3.9.0 → ordering.3.9.1}/opam +4 -4
  12. binaryen-archive/esy.lock/opam/{stdune.3.9.0 → stdune.3.9.1}/opam +4 -4
  13. binaryen-archive/esy.lock/opam/{xdg.3.9.0 → xdg.3.9.1}/opam +4 -4
  14. binaryen-archive/package.json +2 -2
  15. binaryen-archive/src/expression.c +24 -6
  16. binaryen-archive/src/expression.js +20 -6
  17. binaryen-archive/src/expression.ml +14 -5
  18. binaryen-archive/src/expression.mli +10 -2
  19. binaryen-archive/src/heap_type.c +2 -2
  20. binaryen-archive/src/heap_type.js +3 -3
  21. binaryen-archive/src/heap_type.ml +1 -1
  22. binaryen-archive/src/heap_type.mli +1 -1
  23. binaryen-archive/src/op.c +98 -91
  24. binaryen-archive/src/op.js +84 -78
  25. binaryen-archive/src/op.ml +138 -32
  26. binaryen-archive/src/op.mli +46 -45
  27. binaryen-archive/src/passes.ml +16 -0
  28. binaryen-archive/src/passes.mli +15 -0
  29. binaryen-archive/src/type.c +2 -2
  30. binaryen-archive/src/type.js +3 -3
  31. binaryen-archive/src/type.ml +2 -2
  32. binaryen-archive/src/type.mli +1 -1
  33. binaryen-archive/src/type_system.c +0 -6
  34. binaryen-archive/src/type_system.js +0 -6
  35. binaryen-archive/src/type_system.ml +0 -1
  36. binaryen-archive/src/type_system.mli +0 -1
  37. binaryen-archive/test/test.expected +12 -12
@@ -1,5 +1,39 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.22.0](https://github.com/grain-lang/binaryen.ml/compare/v0.21.0...v0.22.0) (2023-09-14)
4
+
5
+
6
+ ### ⚠ BREAKING CHANGES
7
+
8
+ * Rename `dataref` to `structref`
9
+ * Rename `data` to `struct_` in `Heap_type`
10
+ * Remove `equirecursive` in `Type_system`
11
+ * Properly resolve ops externals to their type
12
+ * Replace `Expression.Ref.is` with `Expression.Ref.is_null`
13
+ * Remove Ops that no longer exist in Binaryen
14
+ * Upgrade to libbinaryen v112 ([#188](https://github.com/grain-lang/binaryen.ml/issues/188))
15
+
16
+ ### Features
17
+
18
+ * Add i31 expressions ([46c97c2](https://github.com/grain-lang/binaryen.ml/commit/46c97c2e92d95ffbe880c084ce3c13c503240e58))
19
+ * Add new Binaryen ops ([46c97c2](https://github.com/grain-lang/binaryen.ml/commit/46c97c2e92d95ffbe880c084ce3c13c503240e58))
20
+ * Add new optimization passes ([46c97c2](https://github.com/grain-lang/binaryen.ml/commit/46c97c2e92d95ffbe880c084ce3c13c503240e58))
21
+ * Replace `Expression.Ref.is` with `Expression.Ref.is_null` ([46c97c2](https://github.com/grain-lang/binaryen.ml/commit/46c97c2e92d95ffbe880c084ce3c13c503240e58))
22
+ * Upgrade to libbinaryen v112 ([#188](https://github.com/grain-lang/binaryen.ml/issues/188)) ([46c97c2](https://github.com/grain-lang/binaryen.ml/commit/46c97c2e92d95ffbe880c084ce3c13c503240e58))
23
+
24
+
25
+ ### Bug Fixes
26
+
27
+ * Properly resolve ops externals to their type ([46c97c2](https://github.com/grain-lang/binaryen.ml/commit/46c97c2e92d95ffbe880c084ce3c13c503240e58))
28
+
29
+
30
+ ### Miscellaneous Chores
31
+
32
+ * Remove `equirecursive` in `Type_system` ([46c97c2](https://github.com/grain-lang/binaryen.ml/commit/46c97c2e92d95ffbe880c084ce3c13c503240e58))
33
+ * Remove Ops that no longer exist in Binaryen ([46c97c2](https://github.com/grain-lang/binaryen.ml/commit/46c97c2e92d95ffbe880c084ce3c13c503240e58))
34
+ * Rename `data` to `struct_` in `Heap_type` ([46c97c2](https://github.com/grain-lang/binaryen.ml/commit/46c97c2e92d95ffbe880c084ce3c13c503240e58))
35
+ * Rename `dataref` to `structref` ([46c97c2](https://github.com/grain-lang/binaryen.ml/commit/46c97c2e92d95ffbe880c084ce3c13c503240e58))
36
+
3
37
  ## [0.21.0](https://github.com/grain-lang/binaryen.ml/compare/v0.20.1...v0.21.0) (2023-07-04)
4
38
 
5
39
 
@@ -1,5 +1,5 @@
1
1
  opam-version: "2.0"
2
- version: "0.21.0"
2
+ version: "0.22.0"
3
3
  synopsis: "OCaml bindings for Binaryen"
4
4
  maintainer: "oscar@grain-lang.org"
5
5
  author: "Oscar Spencer"
@@ -16,5 +16,5 @@ depends: [
16
16
  "dune" {>= "3.0.0"}
17
17
  "dune-configurator" {>= "3.0.0"}
18
18
  "js_of_ocaml-compiler" {>= "4.1.0" < "6.0.0"}
19
- "libbinaryen" {>= "111.0.0" < "112.0.0"}
19
+ "libbinaryen" {>= "112.0.0" < "113.0.0"}
20
20
  ]