Journal
Scientific and technical journal of information technologies, mechanics and optics
UDK004.4'242
Issue:6 (70)
Download PDF0 Kbyte
This article describes a domain-specific language (eDSL) for automata-based programming embedded into the Haskell programming language. Proposed eDSL supports extensive code reuse and validation of state-transition functions. This is achieved through developed representation of logical formula that is free from both fixed set of input variables and fixed set of predicates. This allows combination of states in automata even if they were designed for different sets of input variables.