Related articles |
---|
Looking for a LL(1) generator fgagnon@inouii.com (Francois Gagnon) (2003-07-21) |
Re: Looking for a LL(1) generator rivers@dignus.com (Thomas David Rivers) (2003-07-23) |
Re: Looking for a LL(1) generator parag@codegen.com (Parag Patel) (2003-07-25) |
Re: Looking for a LL(1) generator news@lintilla.demon.co.uk (2003-07-26) |
From: | Parag Patel <parag@codegen.com> |
Newsgroups: | comp.compilers |
Date: | 25 Jul 2003 21:17:15 -0400 |
Organization: | CodeGen, Inc. |
References: | 03-07-150 03-07-171 |
Keywords: | tools, parse |
Posted-Date: | 25 Jul 2003 21:17:14 EDT |
Thomas David Rivers <rivers@dignus.com> wrote:
> You can generalize your approach to include regular
> expressions in the "first set." Something like:
>
> x: 'a'* 'x1
My current version of wacco <http://www.codegen.com/freesoft/wacco.tgz>
understands this syntax using '*' for zero-or-more, as well as '+' for
one-or-more, and '?' for zero-or-one. Wacco doesn't convert grammars
from one form into another tho'.
Return to the
comp.compilers page.
Search the
comp.compilers archives again.