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

Re: SableCC equivalent to %prec from yacc



On Sat, 2006-06-17 at 00:04 -0400, Etienne Gagnon wrote:
> FYI, SableCC 4 will introduce some operators to handle some common
> ambiguities.  These operators will not modify the parsed languages; they
> will only resolve these ambiguities according to the grammar designer's
> preference.

Great. I am eager to try SableCC 4 out.

> If you wish to attack C++ parsing with SableCC, I recommend that you
> look at James A. Roskind's grammar:
>  ftp://ftp.iecc.com/pub/file/c++grammar/

Thanks for the link.

> I would also highly recommend that you read Edward D. Willink's Ph.D.
> thesis:
>  http://www.computing.surrey.ac.uk/research/dsrg/fog/

I found this already now to sit down and read it.

Thanks for the help.

Stephen