Displaying 1 to 20 from 50 results

Stateless - A CSharp Hierarchical State Machine

  •    CSharp

Stateless helps to create state machines and lightweight state machine-based workflows directly in .NET code. It provides support for states and triggers of any .NET type, Hierarchical states, Entry/exit events for states, Guard clauses to support conditional transitions, Parameterised triggers and lot more.

machina.js - js ex machina - finite state machines in JavaScript

  •    Javascript

Machina.js is a JavaScript framework for highly customizable finite state machines (FSMs). Many of the ideas for machina have been loosely inspired by the Erlang/OTP FSM behaviors. Finite state machines are a great conceptual model for many concerns facing developers – from conditional UI, connectivity monitoring & management to initialization and more. State machines can simplify tangled paths of asynchronous code, they're easy to test, and they inherently lend themselves to helping you avoid unexpected edge-case-state pitfalls. machina aims to give you the tools you need to model state machines in JavaScript, without being too prescriptive on the problem domain you're solving for.

SMC - The State Machine Compiler

  •    Java

SMC takes a state machine stored in a .sm file and generates a State pattern in 14 programming languages. Includes: default transitions, transition args, transition guards, push/pop transitions and Entry/Exit actions.

django-fsm - Django friendly finite state machine support

  •    Python

django-fsm adds simple declarative states management for django models. Instead of adding some state field to a django model, and managing its values by hand, you could use FSMState field and mark model methods with the transition decorator. Your method could contain the side-effects of the state change.




django-fsm - Django friendly finite state machine support

  •    Python

django-fsm adds simple declarative states management for django models. Instead of adding some state field to a django model, and managing its values by hand, you could use FSMState field and mark model methods with the transition decorator. Your method could contain the side-effects of the state change.

xstate - Functional, Stateless JS Finite State Machines and Statecharts

  •    TypeScript

Functional, stateless JavaScript finite state machines and statecharts. Statecharts are a formalism for modeling stateful, reactive systems. This is useful for declaratively describing the behavior of your application, from the individual components to the overall application logic.

raft - Golang implementation of the Raft consensus protocol

  •    Go

raft is a Go library that manages a replicated log and can be used with an FSM to manage replicated state machines. It is a library for providing consensus.The use cases for such a library are far-reaching as replicated state machines are a key component of many distributed systems. They enable building Consistent, Partition Tolerant (CP) systems, with limited fault tolerance as well.

Spring Statemachine - Framework for application developers to use state machine concepts with Spring

  •    Java

Spring Statemachine is a framework for application developers to use state machine concepts with Spring applications. Hierarchical state machine, Usage of triggers, transitions, guards and actions, Type safe configuration adapter, Distributed state machine based on a Zookeeper, State machine event listeners and lot more.


fsm - Finite State Machine for Go

  •    Go

FSM is a finite state machine for Go.

micromachine - Minimal Finite State Machine

  •    Ruby

Minimal Finite State Machine.There are many finite state machine implementations for Ruby, and they all provide a nice DSL for declaring events, exceptions, callbacks, and all kinds of niceties in general.

Stateless4j - Lightweight Java State Machine

  •    Java

Stateless4j helps to create state machines and lightweight state machine-based workflows directly in java code. It supports Hierarchical states, Entry/exit events for states, Guard clauses to support conditional transitions, Reentrant states and lot more.

fsm-as-promised - A finite state machine library using ES6 promises

  •    Javascript

A minimalistic finite state machine library for browser and node implemented using promises. 📢 For Visual Studio Code users: checkout the UML visualization extension.

Metamorph

  •    

A simple and lightweight framework for managing Finite State Machines and Business Processes.

Rhizome

  •    DotNet

"Rhizome" makes it easier for various .NET developers to start with automata-based programming.

StatefulJ - Event Driven Finite State Machine (FSM)

  •    Java

StatefulJ is a lightweight, open source Java Event Driven Finite State Machine(FSM) and a complete Spring Data based framework which lets you easily define and integrate State Machines into your Applications. It is simple, dependency free, in memory implementation of an FSM with support for concurrency and non-deterministic transitions.

pluck - Pluck text in a fast and intuitive way :rooster:

  •    Go

In pluck, X and Y are called activators and Z is called the deactivator. The file/URL being plucked is streamed byte-by-byte into a finite state machine. Once all activators are found, the following bytes are saved to a buffer, which is added to a list of results once the deactivator is found.The file is read only once, and multiple queries are extracted simultaneously. Alos, there is no requirement on the file format (e.g. XML/HTML), as long as its text.

machina.postal - machina.js plugin that auto-wires FSMs into postal.js (message bus)

  •    Javascript

When you include machina.postal.js in your project, it hooks into the "newFsm" event that gets fired anytime a new FSM is created. In the handler for the "newFsm" event, the machina.postal plugin subscribes to postal, using the FSM's namespace as a channel name, and a wildcard "#" as the topic (will match ANY topic on that channel). From that point on, if anyone publishes a message on the FSM's channel, with a topic that matches the name of a handler, the FSM will call handle, routing the message payload to the handler name (assuming one exists under the current state) which matches the message topic. Voila! Your application components can now interact with the FSM over the message bus, and not require a direct reference to it. But wait, there's more.

arduino-fsm - Arduino library for implementing a finite state machine.

  •    C++

An arduino library for implementing a finite state machine. If you'd like to contribute to arduino-fsm please submit a pull-request on a feature branch.