Hi!
I attended David Beazley's talk about PLY at pycon UK and I loved the
idea of using generators across PLY. In my pet project I wrap lexer
objects in generators, which make testing them easier, like
self.assertEquals(['1', '+', '1'], [tkn.value for tkn in
lex.iteritems()])

I just attatched a patch (it's the second one, I missed a new file
with a basic test in the first patch).

Cheers,
--
Krzysiek
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to