doc-src/Tutorial/CodeGen/comp
author wenzelm
Fri, 09 Nov 2001 00:16:52 +0100
changeset 12119 fab22bdb1496
parent 5377 efb799c5ed3c
permissions -rw-r--r--
added impose_hyps_tac; robustify insts of tactic emulations;

consts comp :: ('a,'v) expr => (('a,'v) instr) list
primrec
"comp (Cex v)       = [Const v]"
"comp (Vex a)       = [Load a]"
"comp (Bex f e1 e2) = (comp e2) @ (comp e1) @ [Apply f]"