Skip to content

Commit

Permalink
[asl] Typo
Browse files Browse the repository at this point in the history
Comment forgotten in PR #650.
  • Loading branch information
maranget committed Sep 11, 2023
1 parent bef3935 commit 9cabafc
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions asllib/Interpreter.mli
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,13 @@ module type S = sig
module B : Backend.S

val run_env : (AST.identifier * B.value) list -> B.ast -> B.value B.m
(** [run env0 ast] runs the function main of the ast,
in an environment build from the ast. However, the (global)
identifiers listed in the A-list [env0] will take their
initial values from [env0] and _not_ from [ast]. *)

val run : B.ast -> B.value B.m
(** [run ast] runs the function main of the ast, in an environment build from
the ast. *)
(** Shorthand for [run [] ast] *)

val run_typed : B.ast -> StaticEnv.env -> B.value B.m
(** [run_typed ast env] runs the function main of the typed-checked [ast], in
Expand Down

0 comments on commit 9cabafc

Please sign in to comment.