欢迎大家赞助一杯啤酒🍺 我们准备了下酒菜:Formal mathematics/Isabelle/ML, Formal verification/Coq/ACL2, C++/F#/Lisp
Scheme
来自开放百科 - 灰狐
(版本间的差异)
小 (→Links) |
小 (→图集) |
||
(未显示1个用户的59个中间版本) | |||
第1行: | 第1行: | ||
{{SeeWikipedia|Scheme (programming language)}} | {{SeeWikipedia|Scheme (programming language)}} | ||
+ | |||
+ | Scheme | ||
+ | |||
+ | ==简介== | ||
+ | Scheme 是一种函数式编程语言,是 Lisp 的两种主要方言之一(另一种为[[Common Lisp]])。不同于 Common Lisp,Scheme 遵循极简主义哲学,以一个小型语言核心作为标准,加上各种强力语言工具(语法糖)来扩展语言本身。 | ||
+ | |||
+ | ==新闻== | ||
+ | *[https://planet.scheme.org/ Planet Scheme] | ||
+ | *[https://planet.lisp.org/ Planet Lisp] | ||
+ | *[https://racket-stories.com/ Racket Stories] | ||
+ | *[http://planet.clojure.in/ Planet Clojure] | ||
+ | |||
+ | ==标准== | ||
+ | [[文件:SRFI-logo.png|right|SRFI]] | ||
+ | *[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://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] | ||
+ | *[http://www.r6rs.org/ R6RS] | ||
+ | *[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]] | ||
+ | [[文件:Gerbil-Scheme.png|right|Gerbil Scheme]] | ||
+ | [[文件:GNU-Guile.png|right|GNU Guile]] | ||
+ | [[文件:kawa-logo.png|Kawa|right|Kawa]] | ||
+ | *[https://github.com/schemedoc/awesome-scheme#implementations Scheme 语言实现] | ||
+ | *[[GNU Guile]] | ||
+ | *[[gambit|Gambit Scheme]] | ||
+ | *[[LambdaNative]] | ||
+ | *[[Chez Scheme]] | ||
+ | *[[Racket]] [https://github.com/racket/racket/tree/master/racket/src/ChezScheme Chez Scheme] | ||
+ | *[[MIT/GNU Scheme]] | ||
+ | *[[CHICKEN Scheme]] | ||
+ | *[[kawa]] | ||
+ | *[[LambdaNative]] 使用 [[Gambit]] | ||
+ | *[https://github.com/IronScheme/IronScheme IronScheme] on [[.NET]] | ||
+ | *[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/Glow-Lang/glow Glow] language for [[Blockchain]] Decentralized Applications | ||
+ | *[https://people.csail.mit.edu/jaffer/SCM The SCM Implementation of Scheme] | ||
+ | *[http://tinyscheme.sourceforge.net/ TinyScheme] | ||
+ | *[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. | ||
+ | |||
+ | ==指南== | ||
+ | [[MIT/GNU Scheme]] | ||
+ | brew tap homebrew/x11 | ||
+ | brew install Caskroom/cask/xquartz | ||
+ | brew install mit-scheme | ||
+ | 或下载安装[http://ftp.gnu.org/gnu/mit-scheme/stable.pkg/9.2/mit-scheme-9.2-i386.dmg 32位]、[http://ftp.gnu.org/gnu/mit-scheme/stable.pkg/9.2/mit-scheme-9.2-x86-64.dmg 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) | ||
+ | |||
+ | ==项目== | ||
+ | *[https://github.com/schemedoc/awesome-scheme Awesome Scheme] [[文件:awesome.png]] | ||
+ | *[[Lisp ecosystem]] | ||
+ | |||
+ | ==图书== | ||
+ | 麻省理工学院与其他院校曾采用Scheme教授入门课程,并且著名的入门教材[http://book.huihoo.com/structure-and-interpretation-of-computer-programs/ 《计算机程序的构造和解释》](SICP,或称“魔法书”)就是利用Scheme来解释程序设计。 | ||
+ | |||
+ | * [https://github.com/wizardforcel/sicp-py-zh 《SICP Python 描述中文版》] | ||
+ | * [https://scheme.com/tspl4/ 《The Scheme Programming Language》] | ||
+ | |||
+ | ==图集== | ||
+ | <gallery> | ||
+ | image:Scheme-total-SRFIs.png|SRFIs | ||
+ | image:lambdachip-laco-compiler.png|Laco compiler | ||
+ | image:DrRacket-R6RS.png|DrRacket | ||
+ | </gallery> | ||
==链接== | ==链接== | ||
*http://www.schemers.com/ | *http://www.schemers.com/ | ||
*http://www.schemers.org/ | *http://www.schemers.org/ | ||
+ | *[http://docs.huihoo.com/homepage/shredderyin/wiki/SchemeNotes.html Scheme Notes] | ||
+ | *[http://gnu.huihoo.org/mit-scheme MIT Scheme文档] | ||
[[category:programming language]] | [[category:programming language]] | ||
+ | [[category:functional programming]] | ||
+ | [[category:lisp]] | ||
+ | [[category:scheme]] | ||
+ | [[category:lambda]] | ||
+ | [[category:Huihoo Foundation]] |
2022年10月7日 (五) 03:01的最后版本
您可以在Wikipedia上了解到此条目的英文信息 Scheme Thanks, Wikipedia. |
Scheme
目录 |
[编辑] 简介
Scheme 是一种函数式编程语言,是 Lisp 的两种主要方言之一(另一种为Common Lisp)。不同于 Common Lisp,Scheme 遵循极简主义哲学,以一个小型语言核心作为标准,加上各种强力语言工具(语法糖)来扩展语言本身。
[编辑] 新闻
[编辑] 标准
- Scheme Requests for Implementation (SRFI) SRFI @ GitHub
- (welcome '(schemers . org))
- small.r7rs.org Implementation Support R7RS-large
- R6RS
- R5RS
- Racket R7RS
- Racket R6RS
- Racket R5RS
[编辑] 语言
- Scheme 语言实现
- GNU Guile
- Gambit Scheme
- LambdaNative
- Chez Scheme
- Racket Chez Scheme
- MIT/GNU Scheme
- CHICKEN Scheme
- kawa
- LambdaNative 使用 Gambit
- IronScheme on .NET
- Ribbit A Small Scheme VM, Compiler, and REPL in 4K.
- Gerbil Scheme
- Glow language for Blockchain Decentralized Applications
- The SCM Implementation of Scheme
- TinyScheme
- Gauche is an R7RS Scheme implementation
- STklos R7RS except for the module system; ad-hoc portable VM, with CLOS-like object system.
- BiwaScheme is a Scheme interpreter written in JavaScript.
- LIPS is a powerful Scheme-based, Lisp language written in JavaScript.
[编辑] 指南
brew tap homebrew/x11 brew install Caskroom/cask/xquartz brew install mit-scheme
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来解释程序设计。
[编辑] 图集
[编辑] 链接
分享您的观点