Versions in this module Expand all Collapse all v0 v0.6.0 Mar 6, 2025 v0.5.0 Nov 10, 2023 Changes in this version + var Epsilon = epsilon + type DFA struct + Start *DFAState + States []*DFAState + func (d *DFA) Print(out io.Writer) + type DFAState struct + Accept bool + Data any + ID uint32 + NFAStates []*NFAState + Transitions map[any]*DFAState + type NFA struct + Start *NFAState + States []*NFAState + func NewNFA() *NFA + func (n *NFA) AddTransition(from, to *NFAState, input any) *NFAState + func (n *NFA) DFA() *DFA + func (n *NFA) NewState() *NFAState + func (n *NFA) Print(out io.Writer) + type NFAState struct + Accept bool + Data any + ID uint32 + Transitions map[any][]*NFAState