view tk/gi.lite @ 10:f2aa38ce0787

add state display.
author kono
date Fri, 19 Jan 2001 23:14:00 +0900
parents 1c57a78f1d98
children
line wrap: on
line source

%
% specification for simple graphics interaction
%

specification((
+((
  (stop-> keep(red)),
  (start-> keep(green)),
  next(halt((stop;start;quit)))
  )),
[]((red,not(green);not(red),green)),
[]((green->move)),
[]((red->not(move))),
halt(quit)
)).

st_variables([stop,start,quit],[red,gree,move]).