src/Tools/Compute_Oracle/am_interpreter.ML
changeset 31971 8c1b845ed105
parent 30161 c26e515f1c29
child 32740 9dd0a2f83429
equal deleted inserted replaced
31970:ccaadfcf6941 31971:8c1b845ed105
    14 
    14 
    15 datatype closure = CDummy | CVar of int | CConst of int
    15 datatype closure = CDummy | CVar of int | CConst of int
    16                  | CApp of closure * closure | CAbs of closure
    16                  | CApp of closure * closure | CAbs of closure
    17                  | Closure of (closure list) * closure
    17                  | Closure of (closure list) * closure
    18 
    18 
    19 structure prog_struct = TableFun(type key = int*int val ord = prod_ord int_ord int_ord);
    19 structure prog_struct = Table(type key = int*int val ord = prod_ord int_ord int_ord);
    20 
    20 
    21 datatype program = Program of ((pattern * closure * (closure*closure) list) list) prog_struct.table
    21 datatype program = Program of ((pattern * closure * (closure*closure) list) list) prog_struct.table
    22 
    22 
    23 datatype stack = SEmpty | SAppL of closure * stack | SAppR of closure * stack | SAbs of stack
    23 datatype stack = SEmpty | SAppL of closure * stack | SAppR of closure * stack | SAbs of stack
    24 
    24