Skip to content

ANTLR SQLite ​

These are measurements of pinned source representations, not a complexity ranking or a claim that different grammars recognize equivalent languages. Source actions and predicates were not executed. Raw SLR counts omit precedence resolution and cannot be compared with generator conflict declarations.

This grammar as JSON · All grammar vectors as CSV · Atlas

GrammarSource rulesAlternativesRecursive rulesParameter definitionsRaw LR(0) states
ANTLR SQLite11425439unavailableunavailable

Source and provenance ​

InputUTF-8 bytesSHA-256
sql/sqlite/SQLiteParser.g4209740b2e81506c7794a065d7b542f48f232fd0d89682123106818b4bb0b635aa1186
sql/sqlite/SQLiteLexer.g4750019fa347a41eddc482d818549c5b06c047f52393320b8e9bdf6f783450f8d0e50

Comparison context ​

Source capabilities remain those of the original IR:

json
{
  "orderedChoice": false,
  "ebnfSugar": true,
  "predicates": false,
  "scannerless": false,
  "precedenceTable": false,
  "parameterizedRules": false,
  "lexerRules": true
}

FIRST/FOLLOW, LL(1), and raw SLR use the source representation when applicable. See the JSON for each unavailable measurement and its reason.

The JSON retains all rule vectors, diagnostics, unavailable reasons and measurement domains. Source facts, derived measurements and unavailable template-level values must not be pooled as one rule population.

Structural facts for parser grammars.