| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
) |
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
open Names |
| 18 |
|
| 19 |
type retroknowledge = { |
| 20 |
retro_int63 : Constant.t option; |
| 21 |
retro_float64 : Constant.t option; |
| 22 |
retro_string : Constant.t option; |
| 23 |
retro_array : Constant.t option; |
| 24 |
retro_bool : (constructor * constructor) option; |
| 25 |
retro_carry : (constructor * constructor) option; |
| 26 |
retro_pair : constructor option; |
| 27 |
retro_cmp : (constructor * constructor * constructor) option; |
| 28 |
|
| 29 |
retro_f_cmp : (constructor * constructor * constructor * constructor) |
| 30 |
option; |
| 31 |
|
| 32 |
retro_f_class : (constructor * constructor * constructor * constructor |
| 33 |
* constructor * constructor * constructor * constructor |
| 34 |
* constructor) |
| 35 |
option; |
| 36 |
|
| 37 |
|
| 38 |
|
| 39 |
} |
| 40 |
|
| 41 |
let empty = { |
| 42 |
retro_int63 = None; |
| 43 |
retro_float64 = None; |
| 44 |
retro_string = None; |
| 45 |
retro_array = None; |
| 46 |
retro_bool = None; |
| 47 |
retro_carry = None; |
| 48 |
retro_pair = None; |
| 49 |
retro_cmp = None; |
| 50 |
retro_f_cmp = None; |
| 51 |
retro_f_class = None; |
| 52 |
} |
| 53 |
|
| 54 |
type action = |
| 55 |
| Register_ind : 'a CPrimitives.prim_ind * inductive -> action |
| 56 |
| Register_type : 'a CPrimitives.prim_type * Constant.t -> action |