digitalmars.D.bugs - [Issue 22543] New: [spec] grammar blocks use unspecified notation
- d-bugmail puremagic.com (41/41) Nov 25 2021 https://issues.dlang.org/show_bug.cgi?id=22543
https://issues.dlang.org/show_bug.cgi?id=22543 Issue ID: 22543 Summary: [spec] grammar blocks use unspecified notation Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: normal Priority: P1 Component: dlang.org Assignee: nobody puremagic.com Reporter: dkorpel live.nl Newsgroup discussion: https://forum.dlang.org/post/gwcvsqctgsuetdyfenyz forum.dlang.org Blocks like: ``` SpecialTokenSequence: ``` ``` ByteOrderMark: \uFEFF Shebang: EndOfShebang: \u000A EndOfFile ``` Have a certain meaning: - an identifier with a colon denotes a rule - the following lines denote alternatives - spaces between elements of a rule denote either immediate concatenation (lexical grammar), or optional separation by Comments and WhiteSpace (parsing grammar) - the 'opt' suffix means 'optional' - text in boldface denotes a string / character literal (lexical grammar) or single token (parsing grammar) But none of this is specified. --
Nov 25 2021