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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Js-scheme - a Scheme interpreter written in JavaScript

29 点作者 mariorz超过 16 年前

8 条评论

bandris超过 16 年前
How is this any better than the existing n+1 scheme interpreters in javascript? Including Crockford's one:<p><a href="http://www.crockford.com/javascript/scheme.html" rel="nofollow">http://www.crockford.com/javascript/scheme.html</a>
评论 #473865 未加载
ganley超过 16 年前
I did (almost) this same thing 12 years ago: <a href="http://joeganley.com/code/jslisp.html" rel="nofollow">http://joeganley.com/code/jslisp.html</a> ... though his is more complete and polished than mine, and the interface is nicer in ways that were basically impossible in 1997.
评论 #474151 未加载
mariorz超过 16 年前
"Starting in version 0.4 two extensions are packaged with the main download: a primitive API wrapper for Last.fm Web Services, and an interface to the flot JavaScript graphing library. "<p><pre><code> (load 'last.fm) (load 'flot) </code></pre> <a href="http://code.google.com/p/js-scheme/" rel="nofollow">http://code.google.com/p/js-scheme/</a>
vegashacker超过 16 年前
<p><pre><code> &#62; ((lambda (f) (f f)) (lambda (f) (f f))) ;InternalError: too much recursion</code></pre>
shaunxcode超过 16 年前
"dude - wheres my macros?"<p>I will qualify that with: the funnest part of writing "a scheme" is implementing the macro system! Especially as you can use that to implement a lot of the r5 spec itself.
voodootikigod超过 16 年前
Also check out <a href="http://www.jsconf2009.com" rel="nofollow">http://www.jsconf2009.com</a> where JavaScript developers will be rallying to discuss how to use JavaScript to build cutting edge mobile, desktop, server, and web applications. If you have any interest in deep JS tech, you should be there.
jacquesm超过 16 年前
Now that is one impressive hack!<p>The source to the scheme interpreter lives here:<p><a href="http://www.eriksilkensen.com/projects/js-scheme/js-scheme.js?r=50" rel="nofollow">http://www.eriksilkensen.com/projects/js-scheme/js-scheme.js...</a><p>If there ever needed to be proof that JavaScript is a real language then I think that's taken care of now.
评论 #473534 未加载
speek超过 16 年前
This is absolutely kick-ass!<p>No foldl or foldr though?
评论 #473663 未加载