Module parol::analysis::first

source ·
Expand description

Module with FIRST set calculations

Grammar flow analysis FIRSTk of productions and non-terminals

Functions§

  • Calculates the FIRST k sets for all productions of the given grammar. The indices in the returned vector correspond to the production number.

Type Aliases§

  • 0: KTuples for terminals in terminal-index order 1: KTuples for non-terminals in non-terminal-index (alphabetical) order