sync/fsm.yml2
author Krista Bennett <krista@pep-project.org>
Thu, 18 Jan 2018 00:46:19 +0100
changeset 2410 721952accdee
parent 2287 026ab4dae779
child 2829 e444c3c960bb
permissions -rw-r--r--
DANGER! MERGED IN ENGINE-289! SOME DOC BUGS STILL EXIST - USE WITH CARE!!!
krista@2271
     1
// This file is under GNU General Public License 3.0
krista@2271
     2
// see LICENSE.txt
krista@2271
     3
krista@2271
     4
// FSM Y language 1.0
krista@2271
     5
krista@2271
     6
// Copyleft (c) 2016, p≡p foundation
krista@2271
     7
krista@2271
     8
// Written by Volker Birk
krista@2271
     9
krista@2271
    10
decl protocol @name;
krista@2271
    11
decl fsm @name;
krista@2271
    12
decl state @name (timeout=0);
krista@2271
    13
decl event @name, on is event;
krista@2271
    14
decl transition @target, go is transition;
krista@2271
    15
decl action @name, do is action;
krista@2271
    16
decl condition @name, if is condition;
krista@2271
    17
decl alternative, else is alternative;
krista@2271
    18
decl interface @name;
krista@2271
    19
decl tag @name (id);