This bit of code is a lexer and parser combination for the syntax defined by the Io programming language. Note that this parser, while it can be used to parse Io sources, lacks several features needed to retain Io's semantics:
Now you see why this content is in the "ideas" section of my web site. Nonetheless, despite its limitations, it's proven to be pretty educational. Indeed, it's whole purpose was to educate myself on the requirements needed to parse Io's syntax. It turns out to not be that much. Indeed, it's only marginally more sophisticated than Lisp's syntax. Supporting Io's desugaring layer would definitely add to the system's complexity, however.
There are two features provided by the sugaring layer of Io:
I'm not aware of any additional sugaring requirements.
The software is written in Python, so it ought to "just work" provided you have Python 2.5. It may also run on 2.4 as well, but don't hold me to it.