Module Kernel.ReachabilitySource

Reachability analysis for LR automata after conflict resolution

This module computes the reachability of states in a parser automaton after conflicts have been resolved (some transitions removed). It's used to reason about the actual behavior of the parser and compute minimal parsing costs.

Architecture:

The module uses:

Implementation details:

Sourcemodule type S = sig ... end
Sourcetype 'g t = (module S with type g = 'g)
Sourcetype ('g, 'cell) t_cell = (module S with type g = 'g and type Cell.n = 'cell)
Sourceval make : 'g Info.grammar -> 'g t