没有任何数据可供显示
| 开源项目社区 | 当前位置 : |
|
| www.trustie.net/open_source_projects | 主页 > 开源项目社区 > chibi-scheme |
|
chibi-scheme
|
| 3 | 0 | 1947 |
| 贡献者 | 讨论 | 代码提交 |
Chibi-Scheme is a very small but mostly complete R5RS Scheme implementation using a reasonably fast custom VM. Chibi-Scheme tries as much as possible not to trade its small size by cutting corners, and provides full continuations, both low and high-level hygienic macros based on syntactic-closures, string ports and exceptions. Chibi-Scheme is written in highly portable C and supports multiple VM instances running simultaneously.
The current release is 0.3.
Chibi-Scheme is known to work on 32 and 64-bit Linux and OS X, and Plan9, and has been embedded in an iPhone app.
The project mailing list is available at
http://groups.google.com/group/chibi-scheme
Chibi-Scheme has come a long way since the last release, with additions including:
a module system FFI and shared library loading bignums basic optimization pass user-defined types finalizers no more globals (VMs are all thread-safe) much more stable working nested hygienic macros improved error reporting and warnings many modules All of these features are optional at compile-time. The core still consists of about 4500 lines of C code, plus 900 lines of Scheme, and with a minimal feature set compiles to a 64kb shared library. A full feature set compiles to about 120kb, most of which comes from the custom bignum library. Wherever possible, features are relegated to external modules.
This release provides the following SRFIs:
(srfi 0) - cond-expand (srfi 1) - list library (srfi 2) - and-let* (srfi 6) - basic string ports (srfi 8) - receive (srfi 9) - define-record-type (srfi 11) - let-values/let*-values (srfi 16) - case-lambda (srfi 22) - running scheme scripts on Unix (srfi 23) - error reporting mechanism (srfi 26) - cut/cute partial application (srfi 27) - sources of random bits (srfi 33) - bitwise operators (srfi 39) - prameter objects (srfi 46) - basic syntax-rules extensions (srfi 62) - s-expression comments (srfi 69) - basic hash tables (srfi 95) - sorting and merging (srfi 98) - environment access plus the following non-standard modules:
(chibi net) - networking interface (chibi filesystem) - local filesystem and file descriptor interface (chibi process) - processes and signals (chibi system) - host system and user information (chibi time) - time and date library (chibi match) - pattern-matching library (chibi loop) - extensible loop syntax (chibi pathname) - pathname manipulation utilities (chibi uri) - URI parsing and construction utilities (chibi macroexpand) - macro expansion utility (chibi ast) - interface to the internal Abstract Syntax Tree (chibi disasm) - disassembly utility for the chibi VM (chibi heap-stats) - debugging tool to analyze or dump the heap Chibi-Scheme will continue to improve at a rapid rate, hopefully converging with the "small" version of the upcoming Scheme standard. Goals for the next release include threading and Unicode support.
标签:
