-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only run/interpret/compile individual files
this fixes #404 (issue not found). The command line still accepts multiple files, but just handles then independently and in sequence. In `pipeline.ml`, there is always only ever one input file. No change to generated WebAssembly output.
- Loading branch information
Showing
7 changed files
with
107 additions
and
131 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
type mode = WasmMode | DfinityMode | ||
|
||
val compile : mode -> string -> CustomModule.extended_module option -> Ir.prog -> Ir.prog list -> CustomModule.extended_module | ||
val compile : mode -> string -> CustomModule.extended_module option -> Ir.prog -> Ir.prog -> CustomModule.extended_module |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
val transform : Syntax.prog -> Ir.prog | ||
val transform_graph : Typing.lib_env -> Syntax.libraries -> Syntax.prog list -> Ir.prog | ||
val transform_graph : Typing.lib_env -> Syntax.libraries -> Syntax.prog -> Ir.prog |
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.