[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Pushback buffer overflow exception

Thanks for the hint.
I was somewhat underspecific in my question. I'm actually looking for a
grammar for grep-style or even perl-style regular expressions.
My very specific problem at the moment is how to get the grammar for
grep-style character classes right. Something that doesn't have problems
with char classes like "[]]" or "[abc-]".
Would anyone know of such a grammar?

----- Original Message -----
From: "Prof. Etienne M. Gagnon" <etienne.gagnon@uqam.ca>
To: "Franz Beil" <franz.beil@temis-group.com>
Cc: "SableCC-List" <sablecc-list@sable.mcgill.ca>
Sent: Friday, March 28, 2003 7:44 PM
Subject: Re: Pushback buffer overflow exception

> Franz,
> Franz Beil wrote:
> > PPS: Can anyone point me to a SableCC grammar for regular expressions?
> Look at the file sablecc-2x.sablecc2 in the SableCC 2.18.0 distribution.
> Have fun!
> Etienne