Scheme

来自开放百科 - 灰狐
(版本间的差异)
跳转到: 导航, 搜索
(指南)
(图集)
 
(未显示1个用户的9个中间版本)
第12行: 第12行:
 
*[http://planet.clojure.in/ Planet Clojure]
 
*[http://planet.clojure.in/ Planet Clojure]
  
==规范==
+
==标准==
 
[[文件:SRFI-logo.png|right|SRFI]]
 
[[文件:SRFI-logo.png|right|SRFI]]
 
*[https://srfi.schemers.org/ Scheme Requests for Implementation (SRFI)] [https://github.com/scheme-requests-for-implementation SRFI @ GitHub]
 
*[https://srfi.schemers.org/ Scheme Requests for Implementation (SRFI)] [https://github.com/scheme-requests-for-implementation SRFI @ GitHub]
 
*[https://schemers.org/ (welcome '(schemers . org))]
 
*[https://schemers.org/ (welcome '(schemers . org))]
*[https://github.com/lexi-lambda/racket-r7rs r7rs] [https://small.r7rs.org/ small.r7rs.org] [https://small.r7rs.org/wiki/ImplementationSupport/ Implementation­ Support]
+
*[https://small.r7rs.org/ small.r7rs.org] [https://small.r7rs.org/wiki/ImplementationSupport/ Implementation­ Support] [https://github.com/johnwcowan/r7rs-work/blob/master/R7RSHomePage.md R7RS-large]
*[https://github.com/racket/r6rs r6rs]
+
*[http://www.r6rs.org/ R6RS]
*[https://github.com/racket/r5rs r5rs]
+
*[https://schemers.org/Documents/Standards/R5RS/ R5RS]
 +
*[https://github.com/lexi-lambda/racket-r7rs Racket R7RS]  
 +
*[https://github.com/racket/r6rs Racket R6RS]
 +
*[https://github.com/racket/r5rs Racket R5RS]
  
 
==语言==
 
==语言==
 +
[[文件:STklos-Scheme-Logo.png|right|STklos]]
 
[[文件:gambit-logo.png|right|Gambit Scheme]]
 
[[文件:gambit-logo.png|right|Gambit Scheme]]
 +
[[文件:Gerbil-Scheme.png|right|Gerbil Scheme]]
 
[[文件:GNU-Guile.png|right|GNU Guile]]
 
[[文件:GNU-Guile.png|right|GNU Guile]]
 +
[[文件:kawa-logo.png|Kawa|right|Kawa]]
 
*[https://github.com/schemedoc/awesome-scheme#implementations Scheme 语言实现]
 
*[https://github.com/schemedoc/awesome-scheme#implementations Scheme 语言实现]
 
*[[GNU Guile]]
 
*[[GNU Guile]]
 
*[[gambit|Gambit Scheme]]
 
*[[gambit|Gambit Scheme]]
 
*[[LambdaNative]]
 
*[[LambdaNative]]
 +
*[[Chez Scheme]]
 
*[[Racket]] [https://github.com/racket/racket/tree/master/racket/src/ChezScheme Chez Scheme]
 
*[[Racket]] [https://github.com/racket/racket/tree/master/racket/src/ChezScheme Chez Scheme]
 
*[[MIT/GNU Scheme]]
 
*[[MIT/GNU Scheme]]
*[http://www.call-cc.org/ CHICKEN Scheme]
+
*[[CHICKEN Scheme]]
*[http://www.scheme.com/ Chez Scheme]
+
*[[kawa]]
 
*[[LambdaNative]] 使用 [[Gambit]]
 
*[[LambdaNative]] 使用 [[Gambit]]
 
*[https://github.com/IronScheme/IronScheme IronScheme] on [[.NET]]
 
*[https://github.com/IronScheme/IronScheme IronScheme] on [[.NET]]
*[https://github.com/gambit/gambit Gambit Scheme]
 
 
*[https://github.com/udem-dlteam/ribbit Ribbit] A Small Scheme VM, Compiler, and REPL in 4K.
 
*[https://github.com/udem-dlteam/ribbit Ribbit] A Small Scheme VM, Compiler, and REPL in 4K.
 
*[https://github.com/vyzo/gerbil Gerbil Scheme]
 
*[https://github.com/vyzo/gerbil Gerbil Scheme]
第40行: 第46行:
 
*[http://tinyscheme.sourceforge.net/ TinyScheme]
 
*[http://tinyscheme.sourceforge.net/ TinyScheme]
 
*[http://practical-scheme.net/gauche/ Gauche] is an R7RS Scheme implementation
 
*[http://practical-scheme.net/gauche/ Gauche] is an R7RS Scheme implementation
 +
*[https://stklos.net STklos] R7RS except for the module system; ad-hoc portable VM, with CLOS-like object system.
 +
*[https://github.com/biwascheme/biwascheme BiwaScheme] is a Scheme interpreter written in [[JavaScript]].
 +
*[https://lips.js.org/ LIPS] is a powerful Scheme-based, Lisp language written in JavaScript.
  
 
==指南==
 
==指南==
第65行: 第74行:
 
==项目==
 
==项目==
 
*[https://github.com/schemedoc/awesome-scheme Awesome Scheme] [[文件:awesome.png]]
 
*[https://github.com/schemedoc/awesome-scheme Awesome Scheme] [[文件:awesome.png]]
 +
*[[Lisp ecosystem]]
  
 
==图书==
 
==图书==
第76行: 第86行:
 
image:Scheme-total-SRFIs.png|SRFIs
 
image:Scheme-total-SRFIs.png|SRFIs
 
image:lambdachip-laco-compiler.png|Laco compiler
 
image:lambdachip-laco-compiler.png|Laco compiler
 +
image:DrRacket-R6RS.png|DrRacket
 
</gallery>
 
</gallery>
  

2022年10月7日 (五) 03:01的最后版本

Wikipedia-35x35.png 您可以在Wikipedia上了解到此条目的英文信息 Scheme Thanks, Wikipedia.

Scheme

目录

[编辑] 简介

Scheme 是一种函数式编程语言,是 Lisp 的两种主要方言之一(另一种为Common Lisp)。不同于 Common Lisp,Scheme 遵循极简主义哲学,以一个小型语言核心作为标准,加上各种强力语言工具(语法糖)来扩展语言本身。

[编辑] 新闻

[编辑] 标准

SRFI

[编辑] 语言

STklos
Gambit Scheme
Gerbil Scheme
GNU Guile
Kawa

[编辑] 指南

MIT/GNU Scheme

brew tap homebrew/x11
brew install Caskroom/cask/xquartz
brew install mit-scheme

或下载安装32位64位OS X包。

32位

sudo ln -s /Applications/MIT\:GNU\ Scheme.app/Contents/Resources /usr/local/lib/mit-scheme-i386
sudo ln -s /usr/local/lib/mit-scheme-i386/mit-scheme /usr/bin/scheme

64位

sudo ln -s /Applications/MIT\:GNU\ Scheme.app/Contents/Resources /usr/local/lib/mit-scheme-x86-64
sudo ln -s /usr/local/lib/mit-scheme-x86-64/mit-scheme /usr/bin/scheme

scheme

(define foo
  (let ((x 4)
    (lambda (y) (+ x y))))
(foo 6)            =>  10
`#(10 5 ,(sqrt 4) ,@(map sqrt '(16 9)) 8) =>  #(10 5 2 4 3 8)

[编辑] 项目

[编辑] 图书

麻省理工学院与其他院校曾采用Scheme教授入门课程,并且著名的入门教材《计算机程序的构造和解释》(SICP,或称“魔法书”)就是利用Scheme来解释程序设计。

[编辑] 图集

[编辑] 链接

分享您的观点
个人工具
名字空间

变换
操作
导航
工具箱