
31 Oct
2010
31 Oct
'10
5:50 p.m.
Nils Schweinsberg wrote:
This is exactly what gives me headaches. It's hard to tell where you need try/lookAhead and where you don't need them. And I don't really feel comfortable wrapping everything into try blocks...
In my experience, try blocks should only be used at the very inner most parts of the parser. That is avoid wrapping large combinator functions in try blocks. Erik -- ---------------------------------------------------------------------- Erik de Castro Lopo http://www.mega-nerd.com/