@grain/binaryen.ml 0.10.0 → 0.12.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 (160) hide show
  1. {binaryen-archive → binaryen-archive-v0.12.0}/.gitattributes +0 -0
  2. {binaryen-archive → binaryen-archive-v0.12.0}/.gitignore +0 -0
  3. {binaryen-archive → binaryen-archive-v0.12.0}/.gitmodules +0 -0
  4. {binaryen-archive → binaryen-archive-v0.12.0}/CHANGELOG.md +51 -0
  5. {binaryen-archive → binaryen-archive-v0.12.0}/LICENSE +0 -0
  6. {binaryen-archive → binaryen-archive-v0.12.0}/README.md +28 -4
  7. {binaryen-archive → binaryen-archive-v0.12.0}/binaryen.opam +8 -8
  8. {binaryen-archive → binaryen-archive-v0.12.0}/dune +0 -0
  9. {binaryen-archive → binaryen-archive-v0.12.0}/dune-project +0 -0
  10. {binaryen-archive → binaryen-archive-v0.12.0}/dune-workspace +0 -0
  11. {binaryen-archive → binaryen-archive-v0.12.0}/esy.lock/.gitattributes +0 -0
  12. {binaryen-archive → binaryen-archive-v0.12.0}/esy.lock/.gitignore +0 -0
  13. binaryen-archive-v0.12.0/esy.lock/index.json +1365 -0
  14. {binaryen-archive → binaryen-archive-v0.12.0}/esy.lock/opam/astring.0.8.5/opam +0 -0
  15. {binaryen-archive → binaryen-archive-v0.12.0}/esy.lock/opam/base-threads.base/opam +0 -0
  16. {binaryen-archive → binaryen-archive-v0.12.0}/esy.lock/opam/base-unix.base/opam +0 -0
  17. {binaryen-archive/esy.lock/opam/base.v0.14.1 → binaryen-archive-v0.12.0/esy.lock/opam/base.v0.14.2}/opam +4 -4
  18. {binaryen-archive → binaryen-archive-v0.12.0}/esy.lock/opam/biniou.1.2.1/opam +1 -1
  19. {binaryen-archive → binaryen-archive-v0.12.0}/esy.lock/opam/cmdliner.1.0.4/opam +0 -0
  20. {binaryen-archive/esy.lock/opam/cppo.1.6.7 → binaryen-archive-v0.12.0/esy.lock/opam/cppo.1.6.8}/opam +4 -6
  21. {binaryen-archive/esy.lock/opam/csexp.1.4.0 → binaryen-archive-v0.12.0/esy.lock/opam/csexp.1.5.1}/opam +11 -9
  22. {binaryen-archive/esy.lock/opam/dune-build-info.2.8.2 → binaryen-archive-v0.12.0/esy.lock/opam/dune-build-info.2.9.1}/opam +5 -5
  23. {binaryen-archive/esy.lock/opam/dune-configurator.2.8.2 → binaryen-archive-v0.12.0/esy.lock/opam/dune-configurator.2.9.1}/opam +5 -5
  24. {binaryen-archive/esy.lock/opam/dune.2.8.2 → binaryen-archive-v0.12.0/esy.lock/opam/dune.2.9.2}/opam +5 -4
  25. {binaryen-archive → binaryen-archive-v0.12.0}/esy.lock/opam/easy-format.1.3.2/opam +1 -1
  26. {binaryen-archive/esy.lock/opam/fix.20201120 → binaryen-archive-v0.12.0/esy.lock/opam/fix.20220121}/opam +7 -5
  27. {binaryen-archive → binaryen-archive-v0.12.0}/esy.lock/opam/fpath.0.7.3/opam +0 -0
  28. binaryen-archive-v0.12.0/esy.lock/opam/js_of_ocaml-compiler.3.11.0/opam +54 -0
  29. binaryen-archive-v0.12.0/esy.lock/opam/js_of_ocaml-ppx.3.11.0/opam +44 -0
  30. binaryen-archive-v0.12.0/esy.lock/opam/js_of_ocaml.3.11.0/opam +45 -0
  31. {binaryen-archive/esy.lock/opam/menhir.20201216 → binaryen-archive-v0.12.0/esy.lock/opam/menhir.20211128}/opam +8 -6
  32. {binaryen-archive/esy.lock/opam/menhirLib.20201216 → binaryen-archive-v0.12.0/esy.lock/opam/menhirLib.20211128}/opam +8 -6
  33. {binaryen-archive/esy.lock/opam/menhirSdk.20201216 → binaryen-archive-v0.12.0/esy.lock/opam/menhirSdk.20211128}/opam +8 -6
  34. binaryen-archive-v0.12.0/esy.lock/opam/ocaml-compiler-libs.v0.12.4/opam +39 -0
  35. {binaryen-archive/esy.lock/opam/ocaml-lsp-server.1.4.0 → binaryen-archive-v0.12.0/esy.lock/opam/ocaml-lsp-server.1.9.0}/opam +15 -12
  36. {binaryen-archive/esy.lock/opam/ocaml-migrate-parsetree.2.1.0 → binaryen-archive-v0.12.0/esy.lock/opam/ocaml-migrate-parsetree.2.3.0}/opam +13 -10
  37. binaryen-archive-v0.12.0/esy.lock/opam/ocaml-version.3.4.0/opam +49 -0
  38. {binaryen-archive → binaryen-archive-v0.12.0}/esy.lock/opam/ocamlbuild.0.14.0/opam +1 -1
  39. {binaryen-archive/esy.lock/opam/ocamlfind.1.8.1 → binaryen-archive-v0.12.0/esy.lock/opam/ocamlfind.1.9.2}/opam +19 -39
  40. binaryen-archive-v0.12.0/esy.lock/opam/ocamlformat-rpc-lib.0.19.0/opam +40 -0
  41. binaryen-archive-v0.12.0/esy.lock/opam/ocamlformat.0.18.0/opam +56 -0
  42. {binaryen-archive/esy.lock/opam/odoc.1.5.2 → binaryen-archive-v0.12.0/esy.lock/opam/odoc.1.5.3}/opam +12 -12
  43. binaryen-archive-v0.12.0/esy.lock/opam/pp.1.1.2/opam +58 -0
  44. {binaryen-archive → binaryen-archive-v0.12.0}/esy.lock/opam/ppx_derivers.1.2.1/opam +1 -1
  45. {binaryen-archive → binaryen-archive-v0.12.0}/esy.lock/opam/ppx_yojson_conv_lib.v0.14.0/opam +2 -2
  46. {binaryen-archive/esy.lock/opam/ppxlib.0.21.0 → binaryen-archive-v0.12.0/esy.lock/opam/ppxlib.0.22.2}/opam +40 -32
  47. {binaryen-archive/esy.lock/opam/re.1.9.0 → binaryen-archive-v0.12.0/esy.lock/opam/re.1.10.3}/opam +8 -4
  48. {binaryen-archive → binaryen-archive-v0.12.0}/esy.lock/opam/result.1.5/opam +2 -2
  49. {binaryen-archive → binaryen-archive-v0.12.0}/esy.lock/opam/seq.base/files/META.seq +0 -0
  50. {binaryen-archive → binaryen-archive-v0.12.0}/esy.lock/opam/seq.base/files/seq.install +0 -0
  51. {binaryen-archive → binaryen-archive-v0.12.0}/esy.lock/opam/seq.base/opam +0 -0
  52. {binaryen-archive → binaryen-archive-v0.12.0}/esy.lock/opam/sexplib0.v0.14.0/opam +2 -2
  53. binaryen-archive-v0.12.0/esy.lock/opam/spawn.v0.15.0/opam +56 -0
  54. {binaryen-archive → binaryen-archive-v0.12.0}/esy.lock/opam/stdio.v0.14.0/opam +2 -2
  55. {binaryen-archive → binaryen-archive-v0.12.0}/esy.lock/opam/stdlib-shims.0.3.0/opam +0 -0
  56. {binaryen-archive/esy.lock/opam/topkg.1.0.3 → binaryen-archive-v0.12.0/esy.lock/opam/topkg.1.0.4}/opam +18 -22
  57. binaryen-archive-v0.12.0/esy.lock/opam/tyxml.4.5.0/opam +42 -0
  58. {binaryen-archive → binaryen-archive-v0.12.0}/esy.lock/opam/uchar.0.0.2/opam +0 -0
  59. binaryen-archive-v0.12.0/esy.lock/opam/uucp.14.0.0/opam +41 -0
  60. {binaryen-archive/esy.lock/opam/uuseg.13.0.0 → binaryen-archive-v0.12.0/esy.lock/opam/uuseg.14.0.0}/opam +22 -28
  61. {binaryen-archive → binaryen-archive-v0.12.0}/esy.lock/opam/uutf.1.0.2/opam +0 -0
  62. {binaryen-archive → binaryen-archive-v0.12.0}/esy.lock/opam/yojson.1.7.0/opam +1 -1
  63. {binaryen-archive → binaryen-archive-v0.12.0}/esy.lock/overrides/opam__s__ocamlbuild_opam__c__0.14.0_opam_override/files/ocamlbuild-0.14.0.patch +0 -0
  64. {binaryen-archive → binaryen-archive-v0.12.0}/esy.lock/overrides/opam__s__ocamlbuild_opam__c__0.14.0_opam_override/package.json +0 -0
  65. binaryen-archive/esy.lock/overrides/opam__s__ocamlfind_opam__c__1.8.1_opam_override/files/findlib-1.8.1.patch → binaryen-archive-v0.12.0/esy.lock/overrides/opam__s__ocamlfind_opam__c__1.9.2_opam_override/files/findlib-1.9.2.patch +0 -0
  66. {binaryen-archive/esy.lock/overrides/opam__s__ocamlfind_opam__c__1.8.1_opam_override → binaryen-archive-v0.12.0/esy.lock/overrides/opam__s__ocamlfind_opam__c__1.9.2_opam_override}/package.json +1 -1
  67. binaryen-archive-v0.12.0/js/binaryen.es5.js +5 -0
  68. {binaryen-archive → binaryen-archive-v0.12.0}/js/dune +1 -6
  69. {binaryen-archive → binaryen-archive-v0.12.0}/js/element_segment.ml +0 -0
  70. {binaryen-archive → binaryen-archive-v0.12.0}/js/export.ml +1 -1
  71. {binaryen-archive → binaryen-archive-v0.12.0}/js/expression.ml +0 -0
  72. {binaryen-archive → binaryen-archive-v0.12.0}/js/function.ml +0 -0
  73. {binaryen-archive → binaryen-archive-v0.12.0}/js/global.ml +0 -0
  74. {binaryen-archive → binaryen-archive-v0.12.0}/js/import.ml +0 -0
  75. {binaryen-archive → binaryen-archive-v0.12.0}/js/literal.ml +0 -0
  76. {binaryen-archive → binaryen-archive-v0.12.0}/js/memory.ml +0 -0
  77. {binaryen-archive → binaryen-archive-v0.12.0}/js/module.ml +6 -1
  78. {binaryen-archive → binaryen-archive-v0.12.0}/js/op.ml +0 -0
  79. binaryen-archive-v0.12.0/js/postlude.js +2 -0
  80. binaryen-archive-v0.12.0/js/prelude.js +11 -0
  81. {binaryen-archive → binaryen-archive-v0.12.0}/js/settings.ml +0 -0
  82. {binaryen-archive → binaryen-archive-v0.12.0}/js/stubs.c +0 -0
  83. {binaryen-archive → binaryen-archive-v0.12.0}/js/table.ml +2 -2
  84. {binaryen-archive → binaryen-archive-v0.12.0}/js/type.ml +0 -0
  85. binaryen-archive-v0.12.0/package.json +37 -0
  86. {binaryen-archive → binaryen-archive-v0.12.0}/src/binaryen_stubs_exports.c +2 -2
  87. {binaryen-archive → binaryen-archive-v0.12.0}/src/binaryen_stubs_expressions.c +0 -0
  88. {binaryen-archive → binaryen-archive-v0.12.0}/src/binaryen_stubs_features.c +0 -0
  89. {binaryen-archive → binaryen-archive-v0.12.0}/src/binaryen_stubs_functions.c +0 -0
  90. {binaryen-archive → binaryen-archive-v0.12.0}/src/binaryen_stubs_globals.c +0 -0
  91. {binaryen-archive → binaryen-archive-v0.12.0}/src/binaryen_stubs_imports.c +0 -0
  92. {binaryen-archive → binaryen-archive-v0.12.0}/src/binaryen_stubs_literals.c +0 -0
  93. {binaryen-archive → binaryen-archive-v0.12.0}/src/binaryen_stubs_memory.c +0 -0
  94. {binaryen-archive → binaryen-archive-v0.12.0}/src/binaryen_stubs_modules.c +7 -0
  95. {binaryen-archive → binaryen-archive-v0.12.0}/src/binaryen_stubs_ops.c +0 -0
  96. {binaryen-archive → binaryen-archive-v0.12.0}/src/binaryen_stubs_settings.c +0 -0
  97. {binaryen-archive → binaryen-archive-v0.12.0}/src/binaryen_stubs_tables.c +4 -3
  98. {binaryen-archive → binaryen-archive-v0.12.0}/src/binaryen_stubs_types.c +0 -0
  99. binaryen-archive-v0.12.0/src/dune +13 -0
  100. {binaryen-archive → binaryen-archive-v0.12.0}/src/element_segment.ml +0 -0
  101. {binaryen-archive → binaryen-archive-v0.12.0}/src/export.ml +2 -2
  102. {binaryen-archive → binaryen-archive-v0.12.0}/src/expression.ml +0 -0
  103. {binaryen-archive → binaryen-archive-v0.12.0}/src/function.ml +0 -0
  104. {binaryen-archive → binaryen-archive-v0.12.0}/src/global.ml +0 -0
  105. {binaryen-archive → binaryen-archive-v0.12.0}/src/import.ml +0 -0
  106. {binaryen-archive → binaryen-archive-v0.12.0}/src/literal.ml +0 -0
  107. {binaryen-archive → binaryen-archive-v0.12.0}/src/memory.ml +0 -0
  108. {binaryen-archive → binaryen-archive-v0.12.0}/src/module.ml +5 -1
  109. {binaryen-archive → binaryen-archive-v0.12.0}/src/ocaml_helpers.c +0 -8
  110. {binaryen-archive → binaryen-archive-v0.12.0}/src/ocaml_helpers.h +0 -3
  111. {binaryen-archive → binaryen-archive-v0.12.0}/src/op.ml +0 -0
  112. {binaryen-archive → binaryen-archive-v0.12.0}/src/settings.ml +0 -0
  113. {binaryen-archive → binaryen-archive-v0.12.0}/src/table.ml +2 -2
  114. {binaryen-archive → binaryen-archive-v0.12.0}/src/type.ml +0 -0
  115. binaryen-archive-v0.12.0/test/config/dune +8 -0
  116. binaryen-archive-v0.12.0/test/config/ocamlopt_flags.ml +16 -0
  117. {binaryen-archive → binaryen-archive-v0.12.0}/test/dune +4 -0
  118. {binaryen-archive → binaryen-archive-v0.12.0}/test/test.expected +5 -5
  119. {binaryen-archive → binaryen-archive-v0.12.0}/test/test.ml +4 -1
  120. {binaryen-archive → binaryen-archive-v0.12.0}/virtual/dune +0 -0
  121. {binaryen-archive → binaryen-archive-v0.12.0}/virtual/element_segment.mli +0 -0
  122. {binaryen-archive → binaryen-archive-v0.12.0}/virtual/export.mli +1 -1
  123. {binaryen-archive → binaryen-archive-v0.12.0}/virtual/expression.mli +0 -0
  124. {binaryen-archive → binaryen-archive-v0.12.0}/virtual/function.mli +0 -0
  125. {binaryen-archive → binaryen-archive-v0.12.0}/virtual/global.mli +0 -0
  126. {binaryen-archive → binaryen-archive-v0.12.0}/virtual/import.mli +0 -0
  127. {binaryen-archive → binaryen-archive-v0.12.0}/virtual/literal.mli +0 -0
  128. {binaryen-archive → binaryen-archive-v0.12.0}/virtual/memory.mli +0 -0
  129. {binaryen-archive → binaryen-archive-v0.12.0}/virtual/module.mli +2 -0
  130. {binaryen-archive → binaryen-archive-v0.12.0}/virtual/op.mli +0 -0
  131. {binaryen-archive → binaryen-archive-v0.12.0}/virtual/settings.mli +0 -0
  132. {binaryen-archive → binaryen-archive-v0.12.0}/virtual/table.mli +1 -1
  133. {binaryen-archive → binaryen-archive-v0.12.0}/virtual/type.mli +0 -0
  134. binaryen-archive/esy.lock/index.json +0 -1288
  135. binaryen-archive/esy.lock/opam/conf-m4.1/opam +0 -22
  136. binaryen-archive/esy.lock/opam/dot-merlin-reader.4.1/opam +0 -30
  137. binaryen-archive/esy.lock/opam/js_of_ocaml-compiler.3.9.1/opam +0 -40
  138. binaryen-archive/esy.lock/opam/js_of_ocaml-ppx.3.9.0/opam +0 -30
  139. binaryen-archive/esy.lock/opam/js_of_ocaml.3.9.0/opam +0 -31
  140. binaryen-archive/esy.lock/opam/ocaml-compiler-libs.v0.12.3/opam +0 -29
  141. binaryen-archive/esy.lock/opam/ocamlfind.1.8.1/files/ocaml-stub +0 -4
  142. binaryen-archive/esy.lock/opam/ocamlfind.1.8.1/files/ocamlfind.install +0 -6
  143. binaryen-archive/esy.lock/opam/ocamlformat.0.15.1/opam +0 -41
  144. binaryen-archive/esy.lock/opam/tyxml.4.4.0/opam +0 -47
  145. binaryen-archive/esy.lock/opam/uucp.13.0.0/opam +0 -44
  146. binaryen-archive/esy.lock/overrides/opam__s__conf_m4_opam__c__1_opam_override/package.json +0 -6
  147. binaryen-archive/js/postlude.js +0 -2
  148. binaryen-archive/package.json +0 -43
  149. binaryen-archive/src/config/dune +0 -8
  150. binaryen-archive/src/config/library_flags.ml +0 -16
  151. binaryen-archive/src/dune +0 -52
  152. binaryen-archive/vendor/binaryen-c.h +0 -2720
  153. binaryen-archive/vendor/js/index.es5.js +0 -5
  154. binaryen-archive/vendor/linux/libbinaryen.a +0 -0
  155. binaryen-archive/vendor/linux/libbinaryen.so +0 -0
  156. binaryen-archive/vendor/macosx/libbinaryen.a +0 -0
  157. binaryen-archive/vendor/macosx/libbinaryen.dylib +0 -0
  158. binaryen-archive/vendor/mingw64/libbinaryen.a +0 -0
  159. binaryen-archive/vendor/mingw64/libbinaryen.dll +0 -0
  160. binaryen-archive/vendor/wasm-delegations.h +0 -83
@@ -1,22 +0,0 @@
1
- opam-version: "2.0"
2
- maintainer: "tim@gfxmonk.net"
3
- homepage: "http://www.gnu.org/software/m4/m4.html"
4
- bug-reports: "https://github.com/ocaml/opam-repository/issues"
5
- authors: "GNU Project"
6
- license: "GPL-3.0-only"
7
- build: [["sh" "-exc" "echo | m4"]]
8
- depexts: [
9
- ["m4"] {os-family = "debian"}
10
- ["m4"] {os-distribution = "fedora"}
11
- ["m4"] {os-distribution = "rhel"}
12
- ["m4"] {os-distribution = "centos"}
13
- ["m4"] {os-distribution = "alpine"}
14
- ["m4"] {os-distribution = "nixos"}
15
- ["m4"] {os-family = "suse"}
16
- ["m4"] {os-distribution = "ol"}
17
- ["m4"] {os-distribution = "arch"}
18
- ]
19
- synopsis: "Virtual package relying on m4"
20
- description:
21
- "This package can only install if the m4 binary is installed on the system."
22
- flags: conf
@@ -1,30 +0,0 @@
1
- opam-version: "2.0"
2
- maintainer: "defree@gmail.com"
3
- authors: "The Merlin team"
4
- synopsis: "Reads config files for merlin"
5
- homepage: "https://github.com/ocaml/merlin"
6
- bug-reports: "https://github.com/ocaml/merlin/issues"
7
- dev-repo: "git+https://github.com/ocaml/merlin.git"
8
- build: [
9
- ["dune" "subst"] {pinned}
10
- ["dune" "build" "-p" name "-j" jobs]
11
- ]
12
- depends: [
13
- "ocaml" {>= "4.06.1" }
14
- "dune" {>= "2.7.0"}
15
- "yojson" {>= "1.6.0"}
16
- "ocamlfind" {>= "1.6.0"}
17
- "csexp" {>= "1.2.3"}
18
- "result" {>= "1.5"}
19
- ]
20
- description:
21
- "Helper process: reads .merlin files and gives the normalized content to merlin"
22
- x-commit-hash: "ab02f60994c81166820791b5f465f467d752b8dc"
23
- url {
24
- src:
25
- "https://github.com/ocaml/merlin/releases/download/v4.1/dot-merlin-reader-v4.1.tbz"
26
- checksum: [
27
- "sha256=14a36d6fb8646a5df4530420a7861722f1a4ee04753717947305e3676031e7cd"
28
- "sha512=65fd4ab08904c05651a7ef8971802ffaa428daa920765dbcf162e3c56e8047e4c9e4356daa45efccce7c73a586635c8f6cf8118fd3059789de9aff68579bd436"
29
- ]
30
- }
@@ -1,40 +0,0 @@
1
- opam-version: "2.0"
2
- maintainer: "dev@ocsigen.org"
3
- authors: "Ocsigen team"
4
- bug-reports: "https://github.com/ocsigen/js_of_ocaml/issues"
5
- homepage: "http://ocsigen.github.io/js_of_ocaml"
6
- dev-repo: "git+https://github.com/ocsigen/js_of_ocaml.git"
7
- synopsis: "Compiler from OCaml bytecode to Javascript"
8
- description: """
9
- Js_of_ocaml is a compiler from OCaml bytecode to JavaScript.
10
- It makes it possible to run pure OCaml programs in JavaScript
11
- environment like browsers and Node.js
12
- """
13
-
14
- build: [["dune" "build" "-p" name "-j" jobs]]
15
-
16
- depends: [
17
- "ocaml" {>= "4.02.0"}
18
- "dune" {>= "2.5"}
19
- "ppx_expect" {with-test & >= "v0.12.0"}
20
- "cmdliner"
21
- "menhir"
22
- "ppxlib" {>= "0.15.0"}
23
- "yojson" # It's optional, but we want users to be able to use source-map without pain.
24
- ]
25
-
26
- depopts: [ "ocamlfind" ]
27
-
28
- conflicts: [
29
- "ocamlfind" {< "1.5.1"}
30
- "js_of_ocaml" {< "3.0"}
31
- ]
32
- x-commit-hash: "c97f2543ff7bfa6c8fe683cca7beec884b38f918"
33
- url {
34
- src:
35
- "https://github.com/ocsigen/js_of_ocaml/releases/download/3.9.1/js_of_ocaml-3.9.1.tbz"
36
- checksum: [
37
- "sha256=a6de57f502676890191b966d2317a2bef7835786664c37f24e974aed66286545"
38
- "sha512=f8b880bd3ff9fc1d98c5f65a1d3d9e919d16a20dd1c1c979e154642d1df7c3afc9d688e24fbbcd591974e1debb352d8f3fb2e0ffbb6df94c2d08ccd8d3f42727"
39
- ]
40
- }
@@ -1,30 +0,0 @@
1
- opam-version: "2.0"
2
- maintainer: "dev@ocsigen.org"
3
- authors: "Ocsigen team"
4
- bug-reports: "https://github.com/ocsigen/js_of_ocaml/issues"
5
- homepage: "http://ocsigen.github.io/js_of_ocaml"
6
- dev-repo: "git+https://github.com/ocsigen/js_of_ocaml.git"
7
- synopsis: "Compiler from OCaml bytecode to Javascript"
8
- description: """
9
- Js_of_ocaml is a compiler from OCaml bytecode to JavaScript.
10
- It makes it possible to run pure OCaml programs in JavaScript
11
- environment like browsers and Node.js
12
- """
13
-
14
- build: [["dune" "build" "-p" name "-j" jobs]]
15
-
16
- depends: [
17
- "ocaml" {>= "4.02.0"}
18
- "dune" {>= "2.5"}
19
- "ppxlib" {>= "0.15.0"}
20
- "js_of_ocaml" {= version}
21
- ]
22
- x-commit-hash: "95bc95d31122bae5764022f878d8a6dd95ceb169"
23
- url {
24
- src:
25
- "https://github.com/ocsigen/js_of_ocaml/releases/download/3.9.0/js_of_ocaml-3.9.0.tbz"
26
- checksum: [
27
- "sha256=74d3b17b089af04cde29173c9e7a1154b9a784ba415aeef5026440aeb907cb54"
28
- "sha512=affc91ed58d71e79752595345fcb2afe0d86378a73030ce64ef5624b9fef31925a2c2bb5e772fea017a508da292c351ad89b77e28361ff6f8ed345fecb78b31d"
29
- ]
30
- }
@@ -1,31 +0,0 @@
1
- opam-version: "2.0"
2
- maintainer: "dev@ocsigen.org"
3
- authors: "Ocsigen team"
4
- bug-reports: "https://github.com/ocsigen/js_of_ocaml/issues"
5
- homepage: "http://ocsigen.github.io/js_of_ocaml"
6
- dev-repo: "git+https://github.com/ocsigen/js_of_ocaml.git"
7
- synopsis: "Compiler from OCaml bytecode to Javascript"
8
- description: """
9
- Js_of_ocaml is a compiler from OCaml bytecode to JavaScript.
10
- It makes it possible to run pure OCaml programs in JavaScript
11
- environment like browsers and Node.js
12
- """
13
-
14
- build: [["dune" "build" "-p" name "-j" jobs]]
15
-
16
- depends: [
17
- "ocaml" {>= "4.02.0"}
18
- "dune" {>= "2.5"}
19
- "ppxlib" {>= "0.15.0" }
20
- "uchar"
21
- "js_of_ocaml-compiler" {>= "3.9.0" & < "3.10.0"}
22
- ]
23
- x-commit-hash: "95bc95d31122bae5764022f878d8a6dd95ceb169"
24
- url {
25
- src:
26
- "https://github.com/ocsigen/js_of_ocaml/releases/download/3.9.0/js_of_ocaml-3.9.0.tbz"
27
- checksum: [
28
- "sha256=74d3b17b089af04cde29173c9e7a1154b9a784ba415aeef5026440aeb907cb54"
29
- "sha512=affc91ed58d71e79752595345fcb2afe0d86378a73030ce64ef5624b9fef31925a2c2bb5e772fea017a508da292c351ad89b77e28361ff6f8ed345fecb78b31d"
30
- ]
31
- }
@@ -1,29 +0,0 @@
1
- opam-version: "2.0"
2
- maintainer: "opensource@janestreet.com"
3
- authors: ["Jane Street Group, LLC <opensource@janestreet.com>"]
4
- homepage: "https://github.com/janestreet/ocaml-compiler-libs"
5
- bug-reports: "https://github.com/janestreet/ocaml-compiler-libs/issues"
6
- dev-repo: "git+https://github.com/janestreet/ocaml-compiler-libs.git"
7
- license: "MIT"
8
- build: [
9
- ["dune" "build" "-p" name "-j" jobs]
10
- ]
11
- depends: [
12
- "ocaml" {>= "4.04.1"}
13
- "dune" {>= "1.5.1"}
14
- ]
15
- synopsis: """OCaml compiler libraries repackaged"""
16
- description: """
17
-
18
- This packages exposes the OCaml compiler libraries repackages under
19
- the toplevel names Ocaml_common, Ocaml_bytecomp, Ocaml_optcomp, ...
20
- """
21
- x-commit-hash: "7f5d1d2931b96fb3ee6dd569a469b51f621a6dd4"
22
- url {
23
- src:
24
- "https://github.com/janestreet/ocaml-compiler-libs/releases/download/v0.12.3/ocaml-compiler-libs-v0.12.3.tbz"
25
- checksum: [
26
- "sha256=a8403531439c14bbda2d504ef93610fd29a8e9520fc700f21889d893a513e3c9"
27
- "sha512=0bb03b38e93bab3274a8ade38d017808110bc02f2181a594d8775c68fdd465733393f0451dbbf8860e6b50b56c45671d2182637c0840d1d6574803ec18673972"
28
- ]
29
- }
@@ -1,4 +0,0 @@
1
- #!/bin/sh
2
-
3
- BINDIR=$(dirname "$(command -v ocamlc)")
4
- "$BINDIR/ocaml" -I "$OCAML_TOPLEVEL_PATH" "$@"
@@ -1,6 +0,0 @@
1
- bin: [
2
- "src/findlib/ocamlfind" {"ocamlfind"}
3
- "?src/findlib/ocamlfind_opt" {"ocamlfind"}
4
- "?tools/safe_camlp4"
5
- ]
6
- toplevel: ["src/findlib/topfind"]
@@ -1,41 +0,0 @@
1
- opam-version: "2.0"
2
- maintainer: "OCamlFormat Team <ocamlformat-team@fb.com>"
3
- authors: "Josh Berdine <jjb@fb.com>"
4
- homepage: "https://github.com/ocaml-ppx/ocamlformat"
5
- bug-reports: "https://github.com/ocaml-ppx/ocamlformat/issues"
6
- dev-repo: "git+https://github.com/ocaml-ppx/ocamlformat.git"
7
- license: "MIT"
8
- build: [
9
- ["ocaml" "tools/gen_version.mlt" "lib/Version.ml" version] {pinned}
10
- ["dune" "build" "-p" name "-j" jobs]
11
- ["dune" "runtest" "-p" name "-j" jobs] {with-test}
12
- ]
13
- depends: [
14
- "ocaml" {>= "4.06" & < "4.12"}
15
- "alcotest" {with-test}
16
- "base" {>= "v0.12.0" & < "v0.15"}
17
- "base-unix"
18
- "cmdliner"
19
- "dune" {>= "2.2.0"}
20
- "fix"
21
- "fpath"
22
- "menhir"
23
- "ocp-indent" {with-test}
24
- "odoc" {>= "1.4.2"}
25
- "ppxlib" {>= "0.18.0" & < "0.22.0"}
26
- "re"
27
- "stdio" {< "v0.15"}
28
- "uuseg" {>= "10.0.0"}
29
- "uutf" {>= "1.0.1"}
30
- ]
31
- synopsis: "Auto-formatter for OCaml code"
32
- description: "OCamlFormat is a tool to automatically format OCaml code in a uniform style."
33
- x-commit-hash: "7027acfed5b8e6e492801f297766b0c803a13086"
34
- url {
35
- src:
36
- "https://github.com/ocaml-ppx/ocamlformat/releases/download/0.15.1/ocamlformat-0.15.1.tbz"
37
- checksum: [
38
- "sha256=2a61513d10889d975eaa721b577f37b454ecfec0e08257c027f3e9928882cef4"
39
- "sha512=3e03e06f5aabf9c80d7edb0ad908f708a99e371538e25674401170fa5a9836e1c463a1b055b2901ce32854928897b969834d854b7a92c2e18a8d1044ba93e842"
40
- ]
41
- }
@@ -1,47 +0,0 @@
1
- opam-version: "2.0"
2
- maintainer: "dev@ocsigen.org"
3
- homepage: "https://github.com/ocsigen/tyxml/"
4
- bug-reports: "https://github.com/ocsigen/tyxml/issues"
5
- doc: "https://ocsigen.org/tyxml/manual/"
6
- dev-repo: "git+https://github.com/ocsigen/tyxml.git"
7
- license: "LGPL-2.1 with OCaml linking exception"
8
-
9
- build: [
10
- ["dune" "subst"] {pinned}
11
- ["dune" "build" "-p" name "-j" jobs]
12
- ["dune" "runtest" "-p" name "-j" jobs] {with-test}
13
- ]
14
-
15
- depends: [
16
- "ocaml" {>= "4.02"}
17
- "dune"
18
- "alcotest" {with-test}
19
- "seq"
20
- "uutf" {>= "1.0.0"}
21
- "re" {>= "1.5.0"}
22
- ]
23
-
24
- synopsis:"TyXML is a library for building correct HTML and SVG documents"
25
- description:"""
26
- TyXML provides a set of convenient combinators that uses the OCaml
27
- type system to ensure the validity of the generated documents. TyXML
28
- can be used with any representation of HTML and SVG: the textual one,
29
- provided directly by this package, or DOM trees (`js_of_ocaml-tyxml`)
30
- virtual DOM (`virtual-dom`) and reactive or replicated trees
31
- (`eliom`). You can also create your own representation and use it to
32
- instantiate a new set of combinators.
33
-
34
- ```ocaml
35
- open Tyxml
36
- let to_ocaml = Html.(a ~a:[a_href "ocaml.org"] [txt "OCaml!"])
37
- ```
38
- """
39
- authors: "The ocsigen team"
40
- url {
41
- src:
42
- "https://github.com/ocsigen/tyxml/releases/download/4.4.0/tyxml-4.4.0.tbz"
43
- checksum: [
44
- "sha256=516394dd4a5c31726997c51d66aa31cacb91e3c46d4e16c7699130e204042530"
45
- "sha512=d5f2187f8410524cec7a14b28e8950837070eb0b6571b015dd06076c2841eb7ccaffa86d5d2307eaf1950ee62f9fb926477dac01c870d9c1a2f525853cb44d0c"
46
- ]
47
- }
@@ -1,44 +0,0 @@
1
- opam-version: "2.0"
2
- maintainer: "Daniel Bünzli <daniel.buenzl i@erratique.ch>"
3
- authors: [ "The uucp programmers" ]
4
- homepage: "https://erratique.ch/software/uucp"
5
- doc: "https://erratique.ch/software/uucp/doc/Uucp"
6
- dev-repo: "git+https://erratique.ch/repos/uucp.git"
7
- bug-reports: "https://github.com/dbuenzli/uucp/issues"
8
- tags: [ "unicode" "text" "character" "org:erratique" ]
9
- license: "ISC"
10
- depends: [
11
- "ocaml" {>= "4.03.0"}
12
- "ocamlfind" {build}
13
- "ocamlbuild" {build}
14
- "topkg" {build}
15
- "uucd" {with-test} # dev really
16
- "uunf" {with-test}
17
- "uutf" {with-test}
18
- ]
19
- depopts: [ "uunf" "uutf" "cmdliner" ]
20
- conflicts: [ "uutf" {< "1.0.1"}
21
- "cmdliner" {< "1.0.0"} ]
22
- build: [[
23
- "ocaml" "pkg/pkg.ml" "build"
24
- "--dev-pkg" "%{pinned}%"
25
- "--with-uutf" "%{uutf:installed}%"
26
- "--with-uunf" "%{uunf:installed}%"
27
- "--with-cmdliner" "%{cmdliner:installed}%"
28
- ]]
29
-
30
- synopsis: """Unicode character properties for OCaml"""
31
- description: """\
32
-
33
- Uucp is an OCaml library providing efficient access to a selection of
34
- character properties of the [Unicode character database][1].
35
-
36
- Uucp is independent from any Unicode text data structure and has no
37
- dependencies. It is distributed under the ISC license.
38
-
39
- [1]: http://www.unicode.org/reports/tr44/
40
- """
41
- url {
42
- archive: "https://erratique.ch/software/uucp/releases/uucp-13.0.0.tbz"
43
- checksum: "07e706249ddb2d02f0fa298804d3c739"
44
- }
@@ -1,6 +0,0 @@
1
- {
2
- "build": "true",
3
- "dependencies": {
4
- "esy-m4": "esy-packages/esy-m4#c7cf0ac9221be2b1f9d90e83559ca08397a629e7"
5
- }
6
- }
@@ -1,2 +0,0 @@
1
- // Attach binaryen to our global
2
- global.binaryen = module.exports;
@@ -1,43 +0,0 @@
1
- {
2
- "name": "@grain/binaryen.ml",
3
- "version": "0.10.0",
4
- "description": "OCaml bindings for Binaryen.",
5
- "author": "Oscar Spencer <oscar@grain-lang.org>",
6
- "license": "Apache-2.0",
7
- "dependencies": {
8
- "ocaml": ">= 4.9.0 < 4.12.0",
9
- "@opam/dune": "^2.7.1",
10
- "@opam/dune-configurator": "^2.7.1",
11
- "@opam/js_of_ocaml": "^3.6.0",
12
- "@opam/js_of_ocaml-ppx": "^3.6.0"
13
- },
14
- "devDependencies": {
15
- "@opam/js_of_ocaml-compiler": "^3.6.0",
16
- "@opam/ocamlformat": "^0.15.0",
17
- "@opam/ocaml-lsp-server": "^1.1.0"
18
- },
19
- "esy": {
20
- "build": "dune build -p binaryen",
21
- "buildEnv": {
22
- "DUNE_BUILD_DIR": "#{self.target_dir}",
23
- "PATH": "#{os == 'windows' ? '/usr/x86_64-w64-mingw32/sys-root/mingw/bin' : '' : $PATH }"
24
- },
25
- "exportedEnv": {
26
- "PATH": {
27
- "val": "#{os == 'windows' ? '/usr/x86_64-w64-mingw32/sys-root/mingw/bin' : '' : $PATH }",
28
- "scope": "global"
29
- }
30
- }
31
- },
32
- "scripts": {
33
- "test": "esy b dune runtest",
34
- "format": "dune build @fmt --auto-promote"
35
- },
36
- "installConfig": {
37
- "pnp": false
38
- },
39
- "keywords": [
40
- "binaryen",
41
- "ocaml"
42
- ]
43
- }
@@ -1,8 +0,0 @@
1
- (executable
2
- (name library_flags)
3
- (libraries dune.configurator))
4
-
5
- (rule
6
- (targets library_flags.sexp)
7
- (action
8
- (run ./library_flags.exe)))
@@ -1,16 +0,0 @@
1
- module C = Configurator.V1
2
-
3
- let () =
4
- C.main ~name:"library_flags" (fun c ->
5
- let default = [] in
6
-
7
- let library_flags =
8
- match C.ocaml_config_var c "system" with
9
- | Some "macosx" ->
10
- (* These flags preserve the original C error behavior *)
11
- [ "-cclib"; "-Wl,-keep_dwarf_unwind" ]
12
- | Some _ -> default
13
- | None -> default
14
- in
15
-
16
- C.Flags.write_sexp "library_flags.sexp" library_flags)
binaryen-archive/src/dune DELETED
@@ -1,52 +0,0 @@
1
- (library
2
- (name binaryen_native)
3
- (public_name binaryen.native)
4
- (implements binaryen)
5
- (foreign_stubs
6
- (language c)
7
- (names binaryen_stubs_types binaryen_stubs_ops binaryen_stubs_literals
8
- binaryen_stubs_expressions binaryen_stubs_functions
9
- binaryen_stubs_imports binaryen_stubs_exports binaryen_stubs_globals
10
- binaryen_stubs_tables binaryen_stubs_memory binaryen_stubs_features
11
- binaryen_stubs_modules binaryen_stubs_settings ocaml_helpers)
12
- (flags -O2 -Wall -Wextra))
13
- (foreign_archives binaryen)
14
- (library_flags
15
- (:include ./config/library_flags.sexp))
16
- (c_library_flags -lstdc++ -lpthread))
17
-
18
- (rule
19
- (target binaryen-c.h)
20
- (action
21
- (copy ../vendor/binaryen-c.h binaryen-c.h)))
22
-
23
- (rule
24
- (target wasm-delegations.h)
25
- (action
26
- (copy ../vendor/wasm-delegations.h wasm-delegations.h)))
27
-
28
- (rule
29
- (target libbinaryen.a)
30
- (action
31
- (copy ../vendor/%{system}/libbinaryen.a libbinaryen.a)))
32
-
33
- (rule
34
- (target dllbinaryen.so)
35
- (enabled_if
36
- (= %{system} macosx))
37
- (action
38
- (copy ../vendor/%{system}/libbinaryen.dylib dllbinaryen.so)))
39
-
40
- (rule
41
- (target dllbinaryen.so)
42
- (enabled_if
43
- (= %{system} linux))
44
- (action
45
- (copy ../vendor/%{system}/libbinaryen.so dllbinaryen.so)))
46
-
47
- (rule
48
- (target dllbinaryen.dll)
49
- (enabled_if
50
- (= %{system} mingw64))
51
- (action
52
- (copy ../vendor/%{system}/libbinaryen.dll dllbinaryen.dll)))