Problem I have to handle an Action (Modify) about my web application. The app working with SMTP Email, ActiveDirectory, External […]
Tag: state-machine
Regex to DFA parser in Dart
Problem I’ve created a Regex to DFA parser, using Thompson’s construction algorithm and epsilon-reduction. Here is the code: builtins.dart: bool […]
Simple State Machine and Transition Table
Problem The goal is to have well defined state transitions, and the ability to provide the next event to execute. […]
Tennis-Refactoring-Kata through OOP
Problem I was trying to solve Tennis-Refactoring-Kata. This seems quite hard at startup but, through use os OOP it can […]
The parking machine implementation
Problem I am interesting in the topic of finite automata, so I started over by implementing a parking machine from […]
State Design Pattern in Python
Problem I’m trying to find the best – read: readable, maintainable, robust, threadsafe, usable – solution for a State Machine […]
Using state transitions to filter C comments
Problem This is my second attempt at K&R 1-23, Write a program to remove all comments from a C program. […]
Tennis-Refactoring-Kata through OOP
Problem I was trying to solve Tennis-Refactoring-Kata. This seems quite hard at startup but, through use os OOP it can […]
Simple State Machine and Transition Table
Problem The goal is to have well defined state transitions, and the ability to provide the next event to execute. […]
Sequence state machine
Problem I tried to parse command line arguments. The program requires four arguments. I iterate over the arguments. If the […]