[Jeremy Hylton] > ... > Getting a useful traceback after tail call optimization seems like an > awfully important quality of implementation issue. Indeed, in delegation-heavy designs, when an error occurs the delegation path you took to reach the failing code often *is* "the error". So let's optimize tail calls, but for each elided one we'll allocate a record containing a pointer to its caller, the line number of the optimized tail call, and the bindings of locals. It will look pretty much exactly like a frame object looks today, but we won't *call* it a frame object, and then everyone will be happy <wink>.
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