]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/lambda-delta/basic_rg/brgReduction.mli
txtLexer: bug fix in parsing the string tokens
[helm.git] / helm / software / lambda-delta / basic_rg / brgReduction.mli
index dd97b0d4d9429cf79e0a8c361e94507307c1e23f..eebb157254fc5f1ccc38e5ea4705c6915c7295fb 100644 (file)
@@ -9,20 +9,18 @@
      \ /   This software is distributed as is, NO WARRANTY.              
       V_______________________________________________________________ *)
 
-exception TypeError of Brg.message
+type kam
 
-type machine
+val empty_kam: kam
 
-val empty_machine: machine
+val get: kam -> int -> Brg.bind
 
-val get: (Brg.bind -> 'a) -> machine -> int -> 'a
+val push: kam -> Entity.attrs -> Brg.bind -> kam
 
-val push: (machine -> 'a) -> machine -> Brg.bind -> 'a
+val xwhd: Entity.status -> kam -> Brg.term -> kam * Brg.term 
 
-(* arguments: expected type, inferred type, typed term *) 
-val assert_conversion:
-   (unit -> 'a) -> ?si:bool -> ?rt:bool -> 
-   machine -> Brg.term -> Brg.term -> Brg.term -> 'a
+(* arguments: expected type, inferred type *) 
+val are_convertible: 
+   Entity.status -> kam -> Brg.term -> kam -> Brg.term -> bool
 
-val message1: 
-   string -> machine -> Brg.term -> (Brg.context, Brg.term) Log.message
+val specs: (kam, Brg.term) Log.specs