-
Notifications
You must be signed in to change notification settings - Fork 1
/
mytoploop.mli
29 lines (22 loc) · 1.24 KB
/
mytoploop.mli
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
(***********************************************************************)
(* *)
(* Objective Caml *)
(* *)
(* Xavier Leroy, projet Cristal, INRIA Rocquencourt *)
(* *)
(* Copyright 1996 Institut National de Recherche en Informatique et *)
(* en Automatique. All rights reserved. This file is distributed *)
(* under the terms of the Q Public License version 1.0. *)
(* *)
(***********************************************************************)
(* $Id: toploop.mli 8705 2007-12-04 13:38:58Z doligez $ *)
open Format
(* 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
(* The interactive toplevel loop *)
val loop : formatter -> unit
(* execute a string *)
val use_string : formatter -> string -> bool