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 Definitions

0: KTuples for terminals in terminal-index order 1: Mapping of non-terminals to KTuples