src/interpreter/finite-automaton/nfa/builders.js
function char(c) {
  const inState = new NFAState();
  const outState = new NFAState({
    accepting: true,
  });

  return new NFA(inState.addTransition(c, outState), outState);
}
function char(c) {
  const inState = new NFAState();
  const outState = new NFAState({
    accepting: true,
  });

  return new NFA(inState.addTransition(c, outState), outState);
}
----------------------------------------------------------------------------- Char NFA fragment: `c` 
Char factory.

Creates an NFA fragment for a single char.

[in] --c--> [out]