Metasyntax/Macros

A. Lloyd Flanagan alloydflanagan at attbi.com
Tue May 27 17:23:40 EDT 2003


paddy3118 at netscape.net (Paddy McCarthy) wrote in message news:<2ae25c6b.0305271100.77be6881 at posting.google.com>...
> alloydflanagan at attbi.com (A. Lloyd Flanagan) wrote in message > 
> As for producing code that no one can read: Yes! Documentation and
> introspection must be a part of a good Python macro system but I think
> it is analogous to using a package. Unless you read-up about it, you
> don't know what a package does. Python helps by having things like
> help(). For any proposed macro solution Python would need appropriate
> help and debugging extensions!
> 
> Maybe the default behavior when in interactive mode could be for each
> macro instance to have its expansion printed when it is encountered.
> This default could be then be optionally turned off.

Hmmm... interesting.  OK, I'll reserve judgement until I see something
more concrete.  I think you're definitely approaching it with the
right ideas.  Good luck!!




More information about the Python-list mailing list