digitalmars.D.bugs - [Issue 3597] New: Need single source for parser and documentation grammar.
- d-bugmail puremagic.com (23/23) Dec 07 2009 http://d.puremagic.com/issues/show_bug.cgi?id=3597
- d-bugmail puremagic.com (6/6) Dec 09 2009 http://d.puremagic.com/issues/show_bug.cgi?id=3597
- d-bugmail puremagic.com (8/8) Dec 09 2009 http://d.puremagic.com/issues/show_bug.cgi?id=3597
- d-bugmail puremagic.com (11/11) Jan 27 2010 http://d.puremagic.com/issues/show_bug.cgi?id=3597
- d-bugmail puremagic.com (11/11) May 30 2013 http://d.puremagic.com/issues/show_bug.cgi?id=3597
http://d.puremagic.com/issues/show_bug.cgi?id=3597 Summary: Need single source for parser and documentation grammar. Product: D Version: unspecified Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: shro8822 vandals.uidaho.edu --- In light of all the recent grammar documentation issues; I'm going to suggest that either the parser or the BNF documentation or both need to be generated from a single source. Given that Walker is unlikely to dump his hand written parser, the most likely solution would be to somehow extract the grammar from the parser source and insert it into the docs as a set of macros. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Dec 07 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3597 04:24:46 PST --- From *code*? o.O -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Dec 09 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3597 --- From general code it would be crazy to attempt it, but IIRC the parser code is very regular. With some refactoring it might be possible to make it regular enough to extract the grammar mechanically. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Dec 09 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3597 Don <clugdbug yahoo.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |clugdbug yahoo.com.au Severity|normal |enhancement Changing this to enhancement since there's actually no identified bug. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 27 2010
http://d.puremagic.com/issues/show_bug.cgi?id=3597 brian-schott cox.net changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |brian-schott cox.net I'm making an attempt at documenting the grammar here: https://github.com/Hackerpilot/DGrammar/blob/master/D.g4 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
May 30 2013