Hi all, jfyi 

I've added just one token to my lexer rules and stuck in 100 groups limit 
in python re 
http://stackoverflow.com/questions/478458/python-regular-expressions-with-more-than-100-groups
 

PLY has workaround in its code - when your master re exceeds 100 groups, 
PLY catches AssertionError from python, splits master re into parts and 
retries. 

All works smoothly, but in my case my unit tests suite became 10x slower. 
Single parsing is about 1.5x slower. 

The solution is obvious - to get rid of the python limitation. 
Does anyone know the best way to do so? 

Thanks in advance. 
-- 
Best regards, 
Eugene Voytitsky 

-- 
You received this message because you are subscribed to the Google Groups 
"ply-hack" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msg/ply-hack/-/-xQgpXz-4ggJ.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to