cduce.mli 514 Bytes
Newer Older
1 2
exception Escape of exn

3
val toplevel: bool ref
4
val verbose: bool ref
5

6
val script : Format.formatter -> Format.formatter -> char Stream.t -> bool
7
val topinput : Format.formatter -> Format.formatter -> char Stream.t -> bool
8 9

val dump_env : Format.formatter -> unit
10

11
val compile: string -> string option -> unit
12 13
val compile_run: string -> unit
val run: string -> unit
14 15

val print_exn: Format.formatter -> exn -> unit
16 17 18 19


val eval: string -> (Encodings.Utf8.t option * Value.t) list
  (* Can be used from CDuce units *)