doc-src/Tutorial/CodeGen/comp
author wenzelm
Tue, 26 Oct 1999 19:06:52 +0200
changeset 7937 82025fe607d3
parent 5377 efb799c5ed3c
permissions -rw-r--r--
added inform_file_processed, inform_file_retracted; proper outer syntax setup; more robust theory loader actions;

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]"