mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-24 07:38:46 +00:00
Typo.
This commit is contained in:
parent
57ccfa2352
commit
77ec064c5c
1 changed files with 3 additions and 3 deletions
|
|
@ -28,11 +28,11 @@ let eval _ = failwith "Not yet implemented"
|
|||
|
||||
(* Top-level evaluation
|
||||
|
||||
val run : int list -> prg -> int list
|
||||
val run : prg -> int list -> int list
|
||||
|
||||
Takes an input stream, a program, and returns an output stream this program calculates
|
||||
Takes a program, an input stream, and returns an output stream this program calculates
|
||||
*)
|
||||
let run i p = let (_, (_, _, o)) = eval ([], (Language.Expr.empty, i, [])) p in o
|
||||
let run p i = let (_, (_, _, o)) = eval ([], (Language.Expr.empty, i, [])) p in o
|
||||
|
||||
(* Stack machine compiler
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue