RFC -- HYGIENIC MACROS IN PYTHON

Courageous jkraska at san.rr.com
Tue Feb 5 21:03:31 EST 2002


>> If I understand you properly, I'm considering making the the
>> macro call itself _generate_ what amounts to a poor man's
>> closure block. I have a few implementation details for this,
>> but the trick to understanding it is to understand that no
>> _first class_ form needs to exist to create the block, only
>> the backend facility.

>Yup you don't need first class forms.
>
>Q: are you working on modifying the C Python parser
>and compiler? What do you mean by poor man's closure?

At the moment, no. I have my own lexer, parser, validator
and emitter. The first two are fairly close to done, missing
a few notables, like comprehensions. The last are very much
a work in progress. Lotto work there; still in design on those.

C//




More information about the Python-list mailing list