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

Re: SableCC equivalent to %prec from yacc



I appreciate the link to the compilers newsgroup. I will certainly take
a look at it but your words did not answer my question. The grammar is
certainly ambiguous as you say but I still see need of parsing it in
order to transform the code into a form which I can analyze it for
security flaws/understanding the code.

I did find an interesting link to another kind of parser generator. Its
suppose to handle thing in a context free method:

> Our first offering is APG – an ABNF Parser Generator. It generators
> recursive-decent parsers for any RFC 2234-compliant ABNF
> (context-free) grammar. It provides an alternative to the CYK, Earley
> and GLR parsing algorithms for problems which require the use of fully
> context-free grammars. 

Stephen