src/HOL/IMP/Com.thy
author kleing
Thu, 03 Nov 2011 18:10:47 +1100
changeset 45324 4ef9220b886b
parent 45321 b227989b6ee6
child 45415 bf39b07a7a8e
permissions -rw-r--r--
more IMP fragments

header "IMP --- A Simple Imperative Language"

theory Com imports BExp begin

text_raw{*\begin{isaverbatimwrite}\newcommand{\Comdef}{% *}
datatype
  com = SKIP 
      | Assign vname aexp       ("_ ::= _" [1000, 61] 61)
      | Semi   com  com         ("_;/ _"  [60, 61] 60)
      | If     bexp com com     ("(IF _/ THEN _/ ELSE _)"  [0, 0, 61] 61)
      | While  bexp com         ("(WHILE _/ DO _)"  [0, 61] 61)
text_raw{*}\end{isaverbatimwrite}*}

end