-
Notifications
You must be signed in to change notification settings - Fork 454
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
single dune file, proper opam support, switch parts of the Makefile to
dune, update GitHub actions
- Loading branch information
1 parent
1e5bd99
commit 71a57e8
Showing
22 changed files
with
159 additions
and
475 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
(copy_files# | ||
(files binary/*.ml*)) | ||
|
||
(copy_files# | ||
(files exec/*.ml*)) | ||
|
||
(copy_files# | ||
(files host/*.ml*)) | ||
|
||
(copy_files# | ||
(files main/flags.ml)) | ||
|
||
(copy_files# | ||
(files runtime/*.ml*)) | ||
|
||
(copy_files# | ||
(files script/*.ml*)) | ||
|
||
(copy_files# | ||
(files syntax/*.ml*)) | ||
|
||
(copy_files# | ||
(files text/*.ml*)) | ||
|
||
(copy_files# | ||
(files util/*.ml*)) | ||
|
||
(copy_files# | ||
(files valid/*.ml*)) | ||
|
||
(library | ||
(public_name wasm) | ||
(wrapped false)) | ||
|
||
; we don't use the `ocamllex` stanza directly as there's no way to pass the `-ml` | ||
; if we don't pass `-ml` we have a transition table overflow... | ||
|
||
(rule | ||
(target lexer.ml) | ||
(deps lexer.mll) | ||
(action | ||
(chdir | ||
%{workspace_root} | ||
(run %{bin:ocamllex} -q -ml -o %{target} %{deps})))) | ||
|
||
(ocamlyacc | ||
(modules parser)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,26 @@ | ||
(lang dune 2.8) | ||
|
||
(implicit_transitive_deps false) | ||
|
||
(name wasm) | ||
|
||
(license Apache-2.0) | ||
|
||
(authors "TODO") | ||
|
||
(maintainers "TODO") | ||
|
||
(source | ||
(github WebAssembly/spec)) | ||
|
||
(generate_opam_files true) | ||
|
||
(package | ||
(name wasm) | ||
(synopsis "WebAssembly library") | ||
(description "A library for writing/reading/running WebAssembly binaries.") | ||
(tags | ||
(wasm webassembly spec interpreter)) | ||
(depends | ||
(ocaml | ||
(>= 4.05)))) |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
(executable | ||
(name wasm) | ||
(modes js) | ||
(libraries wasm)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.