[antlr-interest] LL(k)

Patrick Hulsmeijer phulsmeijer at xebic.com
Wed Mar 19 03:45:03 PDT 2008


Hi,

 

Could anybody give me a clue what the consequences are of specifying a k
value in the options section of an ANTLR grammar, performance wise? And
what will it do to the recognition power of the generated parser?

I'm defining a grammar but I'm having an hard time with the prediction
DFAs in my parser when I'm using LL(*). These don't seem to consider
semantical predicates in their prediction. When I specify a k=2 value
all works fine.

 

Gr, patrick.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20080319/66ea49ea/attachment.html 


More information about the antlr-interest mailing list