src/HOL/IMP/Com.thy
author bulwahn
Fri Oct 21 11:17:14 2011 +0200 (2011-10-21)
changeset 45231 d85a2fdc586c
parent 45212 e87feee00a4c
child 45321 b227989b6ee6
permissions -rw-r--r--
replacing code_inline by code_unfold, removing obsolete code_unfold, code_inline del now that the ancient code generator is removed
nipkow@43141
     1
header "IMP --- A Simple Imperative Language"
clasohm@924
     2
nipkow@43141
     3
theory Com imports BExp begin
clasohm@924
     4
clasohm@924
     5
datatype
nipkow@43141
     6
  com = SKIP 
nipkow@45212
     7
      | Assign vname aexp        ("_ ::= _" [1000, 61] 61)
nipkow@43141
     8
      | Semi   com  com          ("_;/ _"  [60, 61] 60)
nipkow@43141
     9
      | If     bexp com com     ("(IF _/ THEN _/ ELSE _)"  [0, 0, 61] 61)
nipkow@43141
    10
      | While  bexp com         ("(WHILE _/ DO _)"  [0, 61] 61)
clasohm@924
    11
clasohm@924
    12
end