Hi,

I'm trying to parse a simple situation as you might see in Python: "f()()()" 
where the "f" function return a callable which is called which is called. I've 
written the most obvious implementation, but it gets a "stack level too deep" 
error. Parsing the same thing in reverse ("()()()f") works if I form my parser 
backwards, and if I use obvious nesting "(((f)))".

How can I parse "f()()()" to have the same nested result?

Here's my attempt: https://gist.github.com/0b0b302c2c1271b85b8b

-Greg

Reply via email to