Repository navigation
Grammar page for v3.0.0; fix the v2.x EBNF (#643) - #47
Merged
Merged
Conversation
A grammar snapshot page reads docs/GRAMMAR.md (generated from grammar.pest) from v3.0.0 on. The Datalog reference links to it from v3.0.0 and keeps the hand-written EBNF until v3.0.0, now matching v2's grammar.pest: operator symbols as values, aggregate and function names, any character after a backslash in strings, carriage return as whitespace, word boundaries after true/false/nil, and variables as EDN values. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019kY61Y11gcRD91Y6b7jbGT
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of project-minigraf/minigraf#643 (plan step 17). Depends on project-minigraf/minigraf#653: merge that first, since this page reads
docs/GRAMMAR.mdfromorigin/v3. CI fails until then.site.toml:[[snapshot]]grammar, Reference section, order 15 (after the Datalog reference),path = "docs/GRAMMAR.md",since = "v3.0.0".content/datalog-reference.md: from v3.0.0 the Formal Grammar section links to the Grammar page; the hand-written EBNF is wrapped in@until v3.0.0.grammar.peston #643's four mismatches:op-symas a value, an aggregate/window name and a one-argument function name; any character after\in strings; carriage return in the whitespace note; notrue/false/nilbefore a word character. Alsovariableadded toedn-value(it was missing) and a sharedword-char.Built locally with
v3.0.0'sgit_refpointed at the core branch: 10 versions, 290 pages;v3.0.0/grammar/renders and v2.0.8 keeps the corrected EBNF.🤖 Generated with Claude Code
https://claude.ai/code/session_019kY61Y11gcRD91Y6b7jbGT