A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/1999-September/000831.html below:

[Python-Dev] Catching "return" and "return expr" at compile time

[Python-Dev] Catching "return" and "return expr" at compile time [Python-Dev] Catching "return" and "return expr" at compile timeMark Hammond mhammond@skippinet.com.au
Thu, 9 Sep 1999 08:03:07 +1000
> Can we start/settle on a Python-based source code framework
> for this sort of
> thing?  Ideally, I'd like to see a framework that brings the
> parser module's
> output up to a level where mere mortals like me can reason
> about Python
> code.

Actually, I struggled with this a _lot_, then found that P2C has a module
called "transform" which flattens the parse tree down to something I can
understand (which is good :-)

I could simply attach it, but it is grafted to P2C IIRC.  If there is
interest I will rip it out...

Mark.




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4