Hey All,
MacroPy is an implementation of Macros in Python which lets you very easily
modify the semantics of a python program. Apart from the implementation of
macros themselves, we also have a pretty impressive list of feature demos that
were implemented on top of macros:
- Quasiquotes, a qui
MacroPy is a pure-python library that allows user-defined AST rewrites as part
of the import process (using PEP 302). In short, it makes mucking around with
Python's semantics so easy as to be almost trivial: you write a function that
takes an AST and returns an AST, register it as a macro, and