text‹\noindent Abbreviations are transparent: they are unfolded after
parsing and folded back again before printing. Internally, they do not
exist.›
text_raw‹\snip{ASMexeconedef}{0}{1}{%› fun exec1 :: "instr \ state \ stack \ stack"where "exec1 (LOADI n) _ stk = n # stk" | "exec1 (LOAD x) s stk = s(x) # stk" | "exec1 ADD _ (j # i # stk) = (i + j) # stk" text_raw‹}%endsnip›
text_raw‹\snip{ASMexecdef}{1}{2}{%› fun exec :: "instr list \ state \ stack \ stack"where "exec [] _ stk = stk" | "exec (i#is) s stk = exec is s (exec1 i s stk)" text_raw‹}%endsnip›
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.