Files
olisp/lib/vm/native.ml
T
haxala1r c9694af826
ci/woodpecker/push/debian Pipeline was successful
ci/woodpecker/push/fedora Pipeline was successful
ci/woodpecker/push/nix Pipeline was successful
ci/woodpecker/push/publish Pipeline was successful
vm and compiler: removed automatic currying, and several other modifications to the language
2026-05-10 17:23:42 +03:00

18 lines
317 B
OCaml

(* This file implements native functions of the VM runtime.
Stuff like printing to the screen, file I/O etc will be implemented
here.
*)
open Types
let builtin_print (v : Types.value ref list) =
List.iter (fun r -> print_endline (print_value !r)) v;
Types.Nil
let table = [|
builtin_print
|]