File: design.txt

package info (click to toggle)
sigscheme 0.9.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 8,660 kB
  • sloc: lisp: 37,498; ansic: 31,109; sh: 4,368; makefile: 744; asm: 333; ruby: 290
file content (53 lines) | stat: -rw-r--r-- 969 bytes parent folder | download | duplicates (19)
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