欢迎大家赞助一杯啤酒🍺 我们准备了下酒菜:Formal mathematics/Isabelle/ML, Formal verification/Coq/ACL2, C++/F#/Lisp
CHICKEN Scheme
来自开放百科 - 灰狐
(版本间的差异)
小 (→图集) |
小 (→指南) |
||
第28行: | 第28行: | ||
==指南== | ==指南== | ||
*[https://wiki.call-cc.org/chicken-for-programmers-of-other-languages CHICKEN for programmers of other languages] [[Python]], [[PHP]], [[Ruby]], [[Emacs Lisp]] | *[https://wiki.call-cc.org/chicken-for-programmers-of-other-languages CHICKEN for programmers of other languages] [[Python]], [[PHP]], [[Ruby]], [[Emacs Lisp]] | ||
+ | *Debian | ||
+ | $ sudo apt install chicken-bin | ||
+ | $ csi | ||
+ | CHICKEN | ||
+ | (c) 2008-2020, The CHICKEN Team | ||
+ | (c) 2000-2007, Felix L. Winkelmann | ||
+ | Version 5.2.0 (rev 317468e4) | ||
+ | linux-unix-gnu-x86-64 [ 64bit dload ptables ] | ||
+ | |||
+ | Type ,? for help. | ||
+ | #;1> (define (twice f) (lambda (x) (f (f x)))) | ||
+ | #;2> ((twice (lambda (n) (* n 10))) 3) | ||
+ | 300 | ||
==项目== | ==项目== |
2022年1月18日 (二) 06:24的版本
您可以在Wikipedia上了解到此条目的英文信息 CHICKEN Scheme Thanks, Wikipedia. |
CHICKEN Scheme
目录 |
简介
Chicken 是一个 Scheme 语言的编译器和解释器,能够将 scheme 代码编译成标准 C 代码,采用 BSD 许可证。
口号:a practical and portable scheme system, 一个可移植的实用 Scheme 系统。
功能
- CHICKEN eggs 扩展机制
- Common Lisp Object System CHICKEN Scheme COOPS
- 模块化
(define-module A (export pi) (define pi 3.1416))
(define-module B (export e) (define e 2.71828))
(define-module C (import A B))
(select-module C) (* pi e) ⇒ 8.539748448
指南
$ sudo apt install chicken-bin $ csi CHICKEN (c) 2008-2020, The CHICKEN Team (c) 2000-2007, Felix L. Winkelmann Version 5.2.0 (rev 317468e4) linux-unix-gnu-x86-64 [ 64bit dload ptables ]
Type ,? for help. #;1> (define (twice f) (lambda (x) (f (f x)))) #;2> ((twice (lambda (n) (* n 10))) 3) 300
项目
- Software written in CHICKEN Scheme
- Salmonella A tool for testing CHICKEN eggs
- Bintracker A hackable Chiptune Audio Workstation for the 21st Century
- spiffy A small web server written in Chicken.
文档
图集
链接
分享您的观点