Write formal YABNF grammar specification #1
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Goal
Define the YABNF syntax formally in ABNF-of-ABNF style, so that parsers can be built from the spec.
Scope
@grammar,@word,@extras,@inline,@conflicts,@externals,@supertypes@prec,@prec-left,@prec-right,@prec-dynamic,@field,@alias,@token,@immediate-token,@pattern@prefix syntax@precedencesdirective for the top-levelprecedencesarray in grammar.json (currently unrepresented)Context
Deliverable
A
spec.abnf(or similar) file defining the YABNF grammar, plus documentation of the semantics of each extension.Migrated from Codeberg: originally #1, opened 2026-03-18.