On 3/12/12 11:03 PM, Alex Rønne Petersen wrote:
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.

I'd love to embed a D parser inside Phobos, even though it's not the implementation used inside the compiler.

Andrei

Reply via email to