欢迎大家赞助一杯啤酒🍺 我们准备了下酒菜:Formal mathematics/Isabelle/ML, Formal verification/Coq/ACL2, C++/F#/Lisp
Scheme
来自开放百科 - 灰狐
(版本间的差异)
小 (→语言) |
小 (→图集) |
||
(未显示1个用户的2个中间版本) | |||
第26行: | 第26行: | ||
[[文件:STklos-Scheme-Logo.png|right|STklos]] | [[文件: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]] | + | [[文件: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]] | ||
第36行: | 第37行: | ||
*[[MIT/GNU Scheme]] | *[[MIT/GNU Scheme]] | ||
*[[CHICKEN Scheme]] | *[[CHICKEN Scheme]] | ||
+ | *[[kawa]] | ||
*[[LambdaNative]] 使用 [[Gambit]] | *[[LambdaNative]] 使用 [[Gambit]] | ||
*[https://github.com/IronScheme/IronScheme IronScheme] on [[.NET]] | *[https://github.com/IronScheme/IronScheme IronScheme] on [[.NET]] | ||
第47行: | 第49行: | ||
*[https://github.com/biwascheme/biwascheme BiwaScheme] is a Scheme interpreter written in [[JavaScript]]. | *[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. | *[https://lips.js.org/ LIPS] is a powerful Scheme-based, Lisp language written in JavaScript. | ||
− | |||
==指南== | ==指南== | ||
第85行: | 第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上了解到此条目的英文信息 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来解释程序设计。
[编辑] 图集
[编辑] 链接
分享您的观点