STATEFORGE
Documentation

STATEFORGE Documentation

StateForge is a browser-based tool for building, simulating, and converting formal automata. It supports DFA, NFA, PDA, Turing machines, Mealy/Moore machines, context-free grammars, and L-systems, all in one interface with zero installation. Everything runs client-side: your automaton is encoded into the URL hash on every change, so sharing is as simple as copying the link.

Full app view — DFA with states, transitions, sidebar, and simulation panel
CLICK TO EXPAND
Full app view — DFA with states, transitions, sidebar, and simulation panel

Why StateForge

No install, no accounts — runs in any browser, works offline

Shareable URLs — your entire automaton (states, transitions, positions, mode) is encoded in the URL hash

8 automaton types — DFA, NFA, PDA, Turing Machine, Mealy, Moore, CFG, L-Systems

6 conversion algorithms — NFA→DFA, DFA minimization, RE→NFA, FA→RE, FA→Grammar, product construction

Step-through simulation — watch your automaton process input symbol by symbol

JFLAP import — load .jff files directly (FA, PDA, and TM types)

Modern UI — dark theme, keyboard-first workflow, full mobile/touch support

Undo/redo — up to 50 history snapshots

Compared to JFLAP

FeatureStateForgeJFLAP
PlatformAny browserJava required
SharingCopy URLExport/email files
Mealy/Moore
L-Systems
CFG ParsingCYK, LL(1), brute-forceCYK, brute-force
Dark mode
Mobile support
Offline✓ (PWA)✓ (desktop app)
PriceFreeFree