1995-08-09 08:06:35 -07:00
|
|
|
(***********************************************************************)
|
|
|
|
(* *)
|
1996-04-30 07:53:58 -07:00
|
|
|
(* Objective Caml *)
|
1995-08-09 08:06:35 -07:00
|
|
|
(* *)
|
|
|
|
(* Xavier Leroy, projet Cristal, INRIA Rocquencourt *)
|
|
|
|
(* *)
|
1996-04-30 07:53:58 -07:00
|
|
|
(* Copyright 1996 Institut National de Recherche en Informatique et *)
|
1999-11-17 10:59:06 -08:00
|
|
|
(* en Automatique. All rights reserved. This file is distributed *)
|
|
|
|
(* under the terms of the Q Public License version 1.0. *)
|
1995-08-09 08:06:35 -07:00
|
|
|
(* *)
|
|
|
|
(***********************************************************************)
|
|
|
|
|
|
|
|
(* $Id$ *)
|
|
|
|
|
1995-05-04 03:15:53 -07:00
|
|
|
(* Translation from typed abstract syntax to lambda terms,
|
|
|
|
for the module language *)
|
|
|
|
|
|
|
|
open Typedtree
|
|
|
|
open Lambda
|
|
|
|
|
1998-04-27 08:16:48 -07:00
|
|
|
val transl_implementation: string -> structure * module_coercion -> lambda
|
2007-11-06 07:16:56 -08:00
|
|
|
val transl_store_phrases: string -> structure -> int * lambda
|
1996-02-18 06:43:18 -08:00
|
|
|
val transl_store_implementation:
|
1998-04-27 08:16:48 -07:00
|
|
|
string -> structure * module_coercion -> int * lambda
|
1995-05-04 03:15:53 -07:00
|
|
|
val transl_toplevel_definition: structure -> lambda
|
2010-01-22 04:48:24 -08:00
|
|
|
val transl_package:
|
2004-04-09 06:32:28 -07:00
|
|
|
Ident.t option list -> Ident.t -> module_coercion -> lambda
|
2003-03-06 07:59:55 -08:00
|
|
|
val transl_store_package:
|
2004-04-09 06:32:28 -07:00
|
|
|
Ident.t option list -> Ident.t -> module_coercion -> int * lambda
|
2003-03-06 07:59:55 -08:00
|
|
|
|
2000-06-12 07:22:37 -07:00
|
|
|
val toplevel_name: Ident.t -> string
|
2007-11-06 07:16:56 -08:00
|
|
|
val nat_toplevel_name: Ident.t -> Ident.t * int
|
1995-10-09 06:37:11 -07:00
|
|
|
|
2008-07-23 22:35:22 -07:00
|
|
|
val primitive_declarations: Primitive.description list ref
|
2003-06-19 08:53:53 -07:00
|
|
|
|
|
|
|
type error =
|
|
|
|
Circular_dependency of Ident.t
|
|
|
|
|
|
|
|
exception Error of Location.t * error
|
|
|
|
|
|
|
|
val report_error: Format.formatter -> error -> unit
|