Go Gisp Go Gisp

xuanbao • 1205 次点击    
这是一个分享于 的项目,其中的信息可能已经有所发展或是发生改变。
Gisp 是简单 (非标准) 的 Lisp/Scheme 到 Go 的编译器。 ## 包括: * 基于 Rob Pike [Lexical Scanning in Go](http://cuddle.googlecode.com/hg/talk/lex.html#title-slide)  的Lexer [](http://cuddle.googlecode.com/hg/talk/lex.html#title-slide) * 简单递归解析器,支持 ints, floats, strings, bools * TCO * AST generating REPL ### 构建运行 <pre class="brush:shell;toolbar: true; auto-links: false;">&gt; go build &amp;&amp; ./gisp &gt;&gt;</pre> 编译文件 <pre class="brush:shell;toolbar: true; auto-links: false;">&gt; ./gisp filename.gsp</pre> ### 函数 <pre class="brush:shell;toolbar: true; auto-links: false;">+, -, *, mod, let, if, ns, def, fn, all pre-existing Go functions</pre>
授权协议:
MIT
开发语言:
Google Go 查看源码»
操作系统:
Linux
1205 次点击  
加入收藏 微博
添加一条新回复 (您需要 登录 后才能回复 没有账号 ?)
  • 请尽量让自己的回复能够对别人有帮助
  • 支持 Markdown 格式, **粗体**、~~删除线~~、`单行代码`
  • 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
  • 图片支持拖拽、截图粘贴等方式上传