Alex_Gaynor wrote: > Also, how would I go about implementing a language that uses indent/ > dedent for blocks(ala python)?
I looked at indent/dedent recently, came up with the following: http://svn.resophonic.com/trac/browser/nehebkau/nehebkau/lex.py I had no idea what I was doing, just hacking around. Note that Python maintains an 'indentation stack': http://www.python.org/doc/2.5.2/ref/indentation.html -t --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
