An Acceptor is a machine that recognises strings (lists of symbols in an alphabet).
Predicate that establishes whether a string
xsis accepted.
Instances
def
Cslib.Automata.Acceptor.language
{Symbol : Type v}
{A : Type u_1}
[Acceptor A Symbol]
(a : A)
:
Language Symbol
The language of an Acceptor is the set of strings it Accepts.
Equations
- Cslib.Automata.Acceptor.language a = {xs : List Symbol | Cslib.Automata.Acceptor.Accepts a xs}