1 (***********************************************************************)
5 (* Xavier Leroy, projet Cristal, INRIA Rocquencourt *)
7 (* Copyright 1996 Institut National de Recherche en Informatique et *)
8 (* en Automatique. All rights reserved. This file is distributed *)
9 (* under the terms of the Q Public License version 1.0. *)
11 (***********************************************************************)
15 (* Translation from typed abstract syntax to lambda terms,
16 for the module language *)
21 val transl_implementation
: string -> structure
* module_coercion
-> lambda
22 val transl_store_implementation
:
23 string -> structure
* module_coercion
-> int * lambda
24 val transl_toplevel_definition
: structure
-> lambda
26 Ident.t
option list
-> Ident.t
-> module_coercion
-> lambda
27 val transl_store_package
:
28 Ident.t
option list
-> Ident.t
-> module_coercion
-> int * lambda
30 val toplevel_name
: Ident.t
-> string
32 val primitive_declarations
: string list
ref
35 Circular_dependency
of Ident.t
37 exception Error
of Location.t
* error
39 val report_error
: Format.formatter
-> error
-> unit