On Thu, Mar 22, 2007 at 09:53:39PM -0400, Nathan Gray wrote:
> On Thu, Mar 22, 2007 at 01:24:58PM +0000, Tim Bunce wrote:
> > Here's a related idea: write a tool that reads BNF grammar, such as
> > http://java.sun.com/docs/books/jls/third_edition/html/syntax.html
> > http://java.sun.com/docs/books/jls/third_edition/html/grammars.html
> > and writes a parser in Perl 6 for that grammar.
> 
> Writing a Perl 6 grammar to parse BNF should not be too hard.

Writing a 5.10 regular expression to parse BNF shouldn't be too hard either.


Abigail

Attachment: pgp0QsSS8lU00.pgp
Description: PGP signature

Reply via email to