← Graph

Finite State Machine

concept 3 connections

Automaton consisting of a finite number of states and transitions that accepts exactly the regular languages. Every regular expression — including every Ruby Regexp — compiles to a finite-state machine under the hood. Used as the model for lexical analysis in compilers and interpreters.

category
pattern
about
Finite State Machine concept
Introduces FSMs as the parser for regular languages and lexical analysis.
about
Finite State Machine concept
Takeaway is specifically about Ruby regex lowering to FSMs.
concept Finite State Machine
related_to
FSMs parse the regular-language class within the Chomsky hierarchy.

Provenance

Read by
2 extractions