CHICKEN Scheme

来自开放百科 - 灰狐
(版本间的差异)
跳转到: 导航, 搜索
(项目)
(项目)
 
(未显示1个用户的10个中间版本)
第2行: 第2行:
  
 
CHICKEN Scheme
 
CHICKEN Scheme
 +
 +
[[文件:CHICKEN-scheme.png|right|CHICKEN Scheme]]
  
 
==简介==
 
==简介==
第9行: 第11行:
  
 
==功能==
 
==功能==
*[https://eggs.call-cc.org/ CHICKEN eggs] 扩展机制
+
*[https://eggs.call-cc.org/ CHICKEN eggs] 扩展机制,一大亮点,extension 不少。
 +
$ chicken-install -help
 +
$ sudo chicken-install -u
 +
$ chicken-install -repository
 +
$ sudo chicken-install awful // [https://github.com/mario-goulart/awful awful web extension]
 +
*[[Common Lisp Object System]] CHICKEN Scheme [https://wiki.call-cc.org/eggref/5/coops 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
  
 
==指南==
 
==指南==
 
*[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
  
 
==项目==
 
==项目==
 +
*[https://www.upyum.com/eggs-repo/egg-repositories.5.html CHICKEN 5 Eggs Repositories] [https://www.upyum.com/eggs-repo/egg-repositories.4.html CHICKEN 4 Eggs Repositories]
 
*[https://wiki.call-cc.org/Software Software written in CHICKEN Scheme]
 
*[https://wiki.call-cc.org/Software Software written in CHICKEN Scheme]
*[https://github.com/mario-goulart/salmonella Salmonella] A tool for [[testing]] CHICKEN eggs
+
*[https://github.com/mario-goulart/salmonella Salmonella] A tool for [[software testing|testing]] CHICKEN eggs
 +
*[https://github.com/bintracker/bintracker Bintracker] A hackable Chiptune Audio Workstation for the 21st Century
 +
*[https://wiki.call-cc.org/eggref/5/spiffy spiffy] A small [[web server]] written in Chicken.
 +
*[https://wiki.call-cc.org/eggref/5/qwiki qwiki] A fast and light-weight wiki.
 +
 
 +
==文档==
 +
*[https://api.call-cc.org/5/doc/chicken The CHICKEN User's Manual]
  
 
==图集==
 
==图集==
 +
<gallery>
 +
</gallery>
  
 
==链接==
 
==链接==

2022年1月19日 (三) 06:29的最后版本

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

CHICKEN Scheme

CHICKEN Scheme

目录

[编辑] 简介

Chicken 是一个 Scheme 语言的编译器和解释器,能够将 scheme 代码编译成标准 C 代码,采用 BSD 许可证。

口号:a practical and portable scheme system, 一个可移植的实用 Scheme 系统。

[编辑] 功能

  • CHICKEN eggs 扩展机制,一大亮点,extension 不少。
$ chicken-install -help
$ sudo chicken-install -u
$ chicken-install -repository
$ sudo chicken-install awful // awful web extension
(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

[编辑] 项目

[编辑] 文档

[编辑] 图集

[编辑] 链接

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

变换
操作
导航
工具箱