On 13-03-2012 05:00, James Miller wrote:
On 13 March 2012 16:47, Andrei Alexandrescu
<[email protected]> wrote:
On 3/12/12 10:36 PM, James Miller wrote:
I agree, automatic generation of the grammar rules would be incredibly
useful for D tools. It doesn't necessarily have to be in a
human-readable format, or even in a specific grammar format, just up
to date. We can always have something to convert it into a specific
format for whatever we are doing. We are programmers after all.
I think being up-to-date is becoming less of a matter now that the language
is stable. Changes in syntax are already very rare.
Andrei
True, in that case we need to make sure we actually have a completely
up to date grammar for the language somewhere then. All in one place.
--
James Miller
Visual D's parser would be a good place to start, I suppose.
--
- Alex