Bug 22543 – [spec] grammar blocks use unspecified notation

Status
NEW
Severity
normal
Priority
P3
Component
dlang.org
Product
D
Version
D2
Platform
All
OS
All
Creation time
2021-11-25T12:22:33Z
Last change time
2024-12-15T15:27:13Z
Assigned to
No Owner
Creator
Dennis
Moved to GitHub: dlang.org#3990 →

Comments

Comment #0 by dkorpel — 2021-11-25T12:22:33Z
Newsgroup discussion: https://forum.dlang.org/post/[email protected] Blocks like: ``` SpecialTokenSequence: # line IntegerLiteral Filespecopt EndOfLine # line __LINE__ Filespecopt EndOfLine ``` ``` ByteOrderMark: \uFEFF Shebang: #! Charactersopt EndOfShebang 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.
Comment #1 by robert.schadek — 2024-12-15T15:27:13Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dlang.org/issues/3990 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB