TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Scheme's first-class continuation implemented with nested While loops

2 点作者 suzuki超过 8 年前

1 comment

suzuki超过 8 年前
A method to implement first-class continuation and call&#x2F;cc (call-with-current-continuation) as found in Scheme is given in the article. The method uses nested &quot;while&quot; loops plainly and does not require the implementation language to be able to call functions recursively. Thus, it will be ported easily even to FORTRAN 77 if just given an automatic memory management of cons cells.<p>The current implementation runs in Emacs Lisp, Common Lisp, Lisps in Dart&#x2F;TypeScript&#x2F;Go and the implemented Lisp itself.
评论 #12997015 未加载