On Fri, Jun 6, 2014 at 7:00 AM, Robert Schadek via Digitalmars-d <digitalmars-d@puremagic.com> wrote: > On 06/06/2014 12:29 PM, Tom Browder via Digitalmars-d wrote: ... >> My purpose is to attempt to write a D language parser in Perl using >> Damian Conway's Regex::Grammars module (on CPAN). ... > The site says it creates recursive decent parser. D does not even fit > into lalr1. So it will not work, unless you can inject handwritten parse > function for the critical parts
I'm not denying all you say, and I certainly am no expert, but I believe Dr. Conway's module can handle D with some effort. Best, -Tom