>>>>> "NS" == Neil Schemenauer <nas@arctrix.com> writes: >> I thought PTL definitely included a "template" declaration >> keyword, a la, def, so they must have some solution here. MEMs >> guys? NS> The correct term is "hack". We do a re.sub on the text of the NS> module. I considered building a new parsermodule with def NS> changed to template but haven't had time yet. I think the NS> dominate cost when importing a PTL module is due stat() calls NS> driven by hairy Python code. Ah, good to know, thanks. I definitely think it would be A Cool Thing if one could build a complete Python parser and compiler in Python. Kind of along the lines of building the interpreter main loop in Python as much as possible. I know that /I'm/ not going to have any time to contribute though (and others have more and better experience in this area than I do). -Barry
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