2 Commits

Author SHA1 Message Date
cqc
548bc0da64 that was quite the breakup 2021-08-05 23:23:09 -05:00
cqc
99c9d92ecc more 2021-07-27 20:24:28 -05:00
6 changed files with 2963 additions and 384 deletions

1
.ocamlformat Normal file
View File

@ -0,0 +1 @@

View File

@ -1,7 +1,30 @@
(executables
(names main)
(modes byte)
(modules main)
(link_flags (-linkall))
(libraries komm tsdl tgls.tgles2 wall irmin-unix compiler-libs.common compiler-libs.bytecomp compiler-libs.toplevel ocaml-compiler-libs.common ocaml-compiler-libs.toplevel zed))
(libraries topinf
tsdl
tgls.tgles2
wall
zed
irmin-unix
ocaml-compiler-libs.common
ocaml-compiler-libs.bytecomp
ocaml-compiler-libs.toplevel
findlib))
(library
(name topinf)
(modes byte)
(modules topinf)
(libraries tsdl
tgls.tgles2
wall
zed
irmin-unix
ocaml-compiler-libs.common
ocaml-compiler-libs.bytecomp
ocaml-compiler-libs.toplevel
findlib))

6
bin/init.ml Normal file
View File

@ -0,0 +1,6 @@
#directory "";;
let x = 1.0;;
assert (x = 1.0)

File diff suppressed because it is too large Load Diff

2427
bin/topinf.ml Normal file

File diff suppressed because it is too large Load Diff

12
bin/topinf.mli Normal file
View File

@ -0,0 +1,12 @@
(* Accessors for the table of toplevel value bindings. These functions
must appear as first and second exported functions in this module.
(See module Translmod.) *)
val getvalue : string -> Obj.t
val setvalue : string -> Obj.t -> unit
val print_toplevel_value_bindings : unit -> unit
type evalenv = Format.formatter -> string -> unit
val init : Format.formatter -> evalenv