-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
802f1d8
commit 650face
Showing
35 changed files
with
211 additions
and
240 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 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,14 +1,14 @@ | ||
type t = | ||
{ id : string option | ||
; typ : Simplified.str_type Named.t | ||
; global : (Symbolic.global, Simplified.global_type) Runtime.t Named.t | ||
; global : (Text.global, Simplified.global_type) Runtime.t Named.t | ||
; table : (Simplified.table, Simplified.table_type) Runtime.t Named.t | ||
; mem : (Types.mem, Types.limits) Runtime.t Named.t | ||
; func : (Symbolic.func, Symbolic.block_type) Runtime.t Named.t | ||
; elem : Symbolic.elem Named.t | ||
; data : Symbolic.data Named.t | ||
; func : (Text.func, Text.block_type) Runtime.t Named.t | ||
; elem : Text.elem Named.t | ||
; data : Text.data Named.t | ||
; exports : Grouped.opt_exports | ||
; start : Symbolic.indice option | ||
; start : Text.indice option | ||
} | ||
|
||
val of_grouped : Grouped.t -> t Result.t |
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 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,4 +1,4 @@ | ||
(** Initial check done on a module. *) | ||
|
||
(** check a module *) | ||
val modul : Symbolic.modul -> Symbolic.modul Result.t | ||
val modul : Text.modul -> Text.modul Result.t |
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 |
---|---|---|
|
@@ -54,8 +54,8 @@ | |
spectest | ||
stack | ||
string_map | ||
symbolic | ||
syntax | ||
text | ||
trap | ||
typecheck | ||
types | ||
|
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 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,14 +1,19 @@ | ||
type 'a t | ||
|
||
val get : 'a t -> 'a | ||
|
||
val get_index : 'a t -> int | ||
|
||
val bind : 'a t -> ('a -> 'b t) -> 'b t | ||
|
||
val map : ('a -> 'b) -> 'a t -> 'b t | ||
val return : int -> 'a -> 'a t | ||
|
||
val return : int -> 'a -> 'a t | ||
|
||
val get_at : int -> 'a t list -> 'a option | ||
|
||
val get_at_exn : int -> 'a t list -> 'a | ||
|
||
val has_index : int -> 'a t -> bool | ||
|
||
val pp : (Format.formatter -> 'a -> unit) -> Format.formatter -> 'a t -> unit |
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
Oops, something went wrong.