PLY is used within the Coopr software, and a Coopr user recently noted that the LR table was being repeatedly written. I've taken a look at the code, and I don't see any caching logic.
If the write_table option to the yacc() function is 1, then the table gets written (this is the default). Otherwise, it looks like it's not written. Is this correct? I think the intent was for the table signature to provide a mechanism for detecting when no writing is necessary, but I don't see that that logic in the code. -- 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]. For more options, visit this group at http://groups.google.com/group/ply-hack?hl=en.
