D parsing

Chad Joan chadjoan at gmail.com
Wed Nov 6 00:28:28 PST 2013


On Tuesday, 5 November 2013 at 20:17:07 UTC, Andrei Alexandrescu 
wrote:
>
> 3. Grammar changes are the simplest ones and in a way the most 
> embarrassing if they happen. The best solution I see to that is 
> deriving the documentation and the actual parser from the same 
> source. This is part of why I'm so keen on parser generators.
>

This.

This is why I have a hard time accepting any "formalize a grammar 
first" arguments.  I think any grammars for D will be pure 
speculation until they become executable and start to see heavy 
use in the tools that we use.


More information about the Digitalmars-d mailing list