1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
|
Design of SigScheme
===================
Purposes
--------
- Embedded into an application
- Suitable for embedded platforms (i.e. non-desktop {OS,hardware})
Requirements
------------
- 3-clause BSD license
- Basic R5RS conformance
- Small footprint
- Low memory consumption
- Highly modular and customizable
- Code readability to enable learning Scheme by implementation
- Easily extensible by C
Code organization
-----------------
- Memory allocators
- Exception and error handling
- Storage Abstraction Layer
- Continuation
- Environment
- Procedures and syntaxes
- Reader
- Writer
- Multibyte character processing
- Ports
Trade-offs
----------
- Strict form validation
- Multibyte string processing
- Function aggregation to share prolog/epilog code fragment
API and ABI
-----------
- ABI incompatibility between configurations
- SAL and ABI
- Dynamic link
- Static link
- Writing an extension by C
|