Lime Parser Generator 0.1.0
Runtime-extensible LALR(1) parser with SIMD tokenization and LLVM JIT
Loading...
Searching...
No Matches
Multi-Grammar Conflict Detection

Detect ambiguities across multiple loaded grammar extensions. More...

Data Structures

struct  ConflictPoint
 A specific ambiguity where multiple grammars can handle the same token in the same parser state. More...
 
struct  LimeContext
 A grammar context – one possible interpretation of a token within a particular grammar/extension. More...
 
struct  MultiGrammarConflictResult
 Result of a multi-grammar conflict scan. More...
 

Enumerations

enum  ConflictLevel { CONFLICT_LEVEL_TOKEN = 0 , CONFLICT_LEVEL_RULE = 1 , CONFLICT_LEVEL_SEMANTIC = 2 }
 Conflict detection levels for multi-grammar scenarios. More...
 

Detailed Description

Detect ambiguities across multiple loaded grammar extensions.

Enumeration Type Documentation

◆ ConflictLevel

#include <include/conflict.h>

Conflict detection levels for multi-grammar scenarios.

Enumerator
CONFLICT_LEVEL_TOKEN 

Lexer-level ambiguity.

CONFLICT_LEVEL_RULE 

Parser-level ambiguity.

CONFLICT_LEVEL_SEMANTIC 

Semantic action ambiguity.

Definition at line 205 of file conflict.h.