// This file is under GNU General Public License 3.0
|
|
// see LICENSE.txt
|
|
|
|
// FSM Y language 1.0
|
|
|
|
// Copyleft (c) 2016, p≡p foundation
|
|
|
|
// Written by Volker Birk
|
|
|
|
decl protocol @name;
|
|
decl fsm @name;
|
|
decl state @name (timeout=0);
|
|
decl event @name, on is event;
|
|
decl transition @target, go is transition;
|
|
decl action @name, do is action;
|
|
decl condition @name, if is condition;
|
|
decl alternative, else is alternative;
|
|
decl interface @name;
|
|
decl tag @name (id);
|