-
Notifications
You must be signed in to change notification settings - Fork 483
Expand file tree
/
Copy pathtranslcore.mli
More file actions
45 lines (38 loc) · 1.75 KB
/
translcore.mli
File metadata and controls
45 lines (38 loc) · 1.75 KB
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
(**************************************************************************)
(* *)
(* OCaml *)
(* *)
(* 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 GNU Lesser General Public License version 2.1, with the *)
(* special exception on linking described in the file LICENSE. *)
(* *)
(**************************************************************************)
(* Translation from typed abstract syntax to lambda terms,
for the core language *)
val transl_exp : Typedtree.expression -> Lambda.lambda
val transl_let :
Asttypes.rec_flag ->
Typedtree.value_binding list ->
Lambda.lambda ->
Lambda.lambda
val transl_primitive :
Location.t ->
Primitive.description ->
Env.t ->
Types.type_expr ->
Lambda.lambda
val transl_extension_constructor :
Env.t -> Path.t option -> Typedtree.extension_constructor -> Lambda.lambda
val current_root_path : Path.t option ref
(* Forward declaration -- to be filled in by Translmod.transl_module *)
val transl_module :
(Typedtree.module_coercion ->
Path.t option ->
Typedtree.module_expr ->
Lambda.lambda)
ref