Expand description
Analysis of the GLR/LR(k) behaviour of a grammar.
Structs§
- Conflict
- A conflict between multiple actions triggered by the same symbol.
- Conflict
Arc - A subspace of a parser’s state space within which a conflict is active.
- Conflict
Lane - An individual point in the state space tracked by a conflict node. Lanes represent the sequences of reductions that happen in between shifts. They may have back-edges to lanes in earlier nodes to represent the state of the stack at various points.
- Conflict
Lane Id - A unique identifier for a lane in a conflict node.
- Conflict
Node - A node in a conflict arc.
- Conflict
Node Id - A unique identifier for a node in a conflict arc.
- GlrAnalysis
- An analysis of conflicts and their resolvability via GLR/LR(k).
- Local
Ambiguity - A local ambiguity in a grammar.
- Reconv
- A point of reconvergence in a conflict arc.
- Rule
Slice - A resolution to a local ambiguity in a grammar.
Enums§
- Conflict
Edge - An edge from one conflict node to another.
Functions§
- find_
conflict_ arc - Find the arc of a conflict.
- find_
conflicts - Find the conflict points in the item sets of a grammar where the same symbol would lead to two different actions.
- find_
local_ ambiguity - Find the local ambiguity associated with a point of reconvergence.
- find_
reconvergences - Find all points of reconvergence in an arc.
- resolve_
local_ ambiguity - Identify the rule slices which must be unified to resolve an ambiguity.