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

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

6 7
val extra_specs: (string * Arg.spec * string) list ref

8
val script : Format.formatter -> Format.formatter -> char Stream.t -> bool
9
val topinput : Format.formatter -> Format.formatter -> char Stream.t -> bool
10 11

val dump_env : Format.formatter -> unit
12

13
val compile: string -> string option -> unit
14 15
val compile_run: string -> unit
val run: string -> unit
16 17

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


20
val eval: string -> (Atoms.V.t option * Value.t) list
21
  (* Can be used from CDuce units *)