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/000832.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 timeGreg Stein gstein@lyra.org
Wed, 08 Sep 1999 15:11:35 -0700
Mark Hammond wrote:
>...
> 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...

transformer.py operates quite independently.

It is a relatively large module, though (33k), so I would recommend
people just grab the P2C distribution from
http://www.mudlib.org/~rassilon/p2c/.

I have started to put together a page at
http://www.lyra.org/greg/python/ that includes the various modules that
I've "published". I'll get transformer over there in the next day or
two.

Cheers,
-g

--
Greg Stein, http://www.lyra.org/



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