Tag: parsing
All the articles with the tag "parsing".
Simplifying Whitespace with Lexeme Parsers in Elm
Learn how lexeme parsers simplify whitespace handling in elm/parser by consuming trailing whitespace and keeping parsers close to the grammar.
DIFF: When Expressions Contain Expressions
DIFF extends CONST with difference expressions whose operands are themselves expressions, revealing the same recursive structure in the grammar, AST, parser, and evaluator.
CONST: From Source Text to Value
CONST is a tiny Elm interpreter for non-negative integer constants, showing the path from source text through an AST to an evaluated value.