Code generator and visitor pattern

Karsten Wutzke kwutzke at web.de
Thu Jul 15 13:58:34 EDT 2010


Hello,

this is obviously a Python OO question:

Since Python isn't stringly typed, single-dispatch isn't available per
se. So is the "double-dispatch" Visitor pattern, which is usually used
in OO systems to implement code generators. So, what is the de facto
method in Python to handle source code generation?

Karsten



More information about the Python-list mailing list