欢迎大家赞助一杯啤酒🍺 我们准备了下酒菜:Formal mathematics/Isabelle/ML, Formal verification/Coq/ACL2, C++/F#/Lisp
Scheme
来自开放百科 - 灰狐
(版本间的差异)
小 (→语言) |
小 (→语言) |
||
第27行: | 第27行: | ||
[[文件:gambit-logo.png|right|Gambit Scheme]] | [[文件:gambit-logo.png|right|Gambit 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行: | 第36行: | ||
*[[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行: | 第48行: | ||
*[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. | ||
− | |||
==指南== | ==指南== |
2022年1月23日 (日) 09:10的版本
您可以在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来解释程序设计。
图集
链接
分享您的观点