[Samuele Pedroni] > ... > I was thinking about stuff like generators used everywhere, > but that is maybe just uninformed panicing. They are the > kind of stuff that make programmers addictive <wink>. Jython is to CPython as Jcon is to Icon, and *every* expression in Icon is "a generator". http://www.cs.arizona.edu/icon/jcon/ is the home page, and you can get a paper from there detailing the Jcon implementation. It wasn't hard, and it's harder in Jcon than it would be in Jython because Icon generators are also tied into an ubiquitous backtracking scheme ("goal-directed evaluation"). Does Jython have an explicit object akin to CPython's execution frame? If so, 96.3% of what's needed for generators is already there. At the other end of the scale, Jcon implements Icon's co-expressions (akin to coroutines) via Java threads.
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