Reference

Galore reference documentation

Reference Documentation

Complete reference for Galore's grammar syntax, APIs, and parser internals.

Grammar Syntax

Complete DSL reference: rules, tokens, directives, EBNF extensions, and comments.

Semantic Actions

Build ASTs and evaluate expressions with rule handlers and callbacks.

API Reference

Entry points, parser options, Grammar class, and TypeScript types.

Tokenization

Token definitions, patterns, and TLEX integration.

Parser Types

Differences between SLR, LALR, and LR(1) parsers.

Parse Tables

Understanding parse tables, conflicts, and resolution strategies.

Error Handling

Handling errors, debugging, and troubleshooting grammars.