src/HOL/IMP/Com.thy
author haftmann
Thu, 08 Sep 2011 11:31:23 +0200
changeset 44839 d19c677eb812
parent 43141 11fce8564415
child 45212 e87feee00a4c
permissions -rw-r--r--
tuned

header "IMP --- A Simple Imperative Language"

theory Com imports BExp begin

datatype
  com = SKIP 
      | Assign name 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)

end