Sam Ruby wrote:
It seems like everything on that page boils down to: all functions are module-scoped closures.
A closer translation: "How do I implement module-scoped closures in Parrot?"
OK, I've roughed out an implementation:
http://intertwingly.net/stories/2004/10/18/scopes.pir http://intertwingly.net/stories/2004/10/18/pymodule.pmc
In the process, I've made a large number of assumptions. Undoubtably, many of them are wrong.
- Sam Ruby