Source

sigscheme /

Filename Size Date modified Message
bench
doc
experimental/imm-const
include
lib
m4
src
test
test-c
tools
234 B
8.7 KB
1.5 KB
9.3 KB
58.7 KB
2.9 KB
3.1 KB
4.2 KB
139 B
149 B
32.2 KB
243 B
543 B
1.3 KB
122 B
275 B
699 B
1.9 KB
What's SigScheme
----------------

SigScheme is a R5RS Scheme interpreter for embedded use.

  Homepage:
    http://uim.freedesktop.org/wiki/SigScheme

  Anonymous svn repository:
    http://anonsvn.freedesktop.org/svn/uim/sigscheme-trunk/

  Web access to the repository:
    http://websvn.freedesktop.org/uim/sigscheme-trunk/


See following files for further information.

  - doc/spec.txt: specifications of SigScheme
  - QALog:        quality assurance state

Please report us if you find a problem. And if you have a time, run
'make-report.sh' and send us the result regardless of PASSed or FAILed. It
greatly helps the development, especially for non-PC platforms.

Mailinglist: uim@freedesktop.org


Features
--------

- Conforms to R5RS basically (not fully)
- R5RS hygienic macros (experimental)
- Supports Following SRFIs
  - SRFI-2  : And-let*
  - SRFI-6  : Basic String Ports
  - SRFI-8  : Receive
  - SRFI-22 : Running Scheme Scripts on Unix (partial)
  - SRFI-23 : Error Reporting Mechanism
  - SRFI-28 : Basic Format Strings
  - SRFI-34 : Exception Handling for Programs
  - SRFI-38 : External Representation for Data with Shared Structure (partial)
  - SRFI-48 : Intermediate Format Strings
  - SRFI-60 : Integer as Bits (partial)
  - SRFI-75 : R6RS Unicode data (partial and obsolete)
- Multibyte character encodings support
- Partial SIOD compatibility

See doc/spec.txt and doc/design.txt for furtuer information.


How to build
------------

GNU make is requied to build.

Run ./configure with some options at the top directory.

  $ ./configure [--enable-conf=CONF] [--enable-default-encoding=ENCODING]

(1) --enable-conf=CONF

  This specifies a base configuration set. Select one from the list below
  suitable for your purpose.

    - full:    compile with full features but broken ones
    - regular: (default) compile with typically needed features
    - small:   compile with primary features only
    - r5rs:    compile with strict R5RS conformances
    - siod:    emulate some SIOD features and bugs
    - dev:     developer-friendly configuration
    - uim:     configure for uim

(2) --enable-default-encoding=ENCODING

  SigScheme normally selects UTF-8 as default encoding. You can change it by
  this option as follows.

    $ ./configure --enable-default-encoding=eucjp

  Following encodings can be specified.

    - utf8
    - euccn
    - eucjp
    - euckr
    - sjis

(3) --enable-ENCODING

  In addition to (2), you can enable other optional and switchable character
  encodings.

    $ ./configure --enable-default-encoding=eucjp --enable-eucjp --enable-sjis


Then type 'make' at the top directory.

  $ make


Test
----

  $ make check


Installation
------------

  $ make install


How to use
----------

To run SigScheme in interactive mode, type as follows.

  $ sscm

To execute a Scheme script, specify it as argument.

  $ sscm <filename>


Acknowledgements
----------------

Some parts of this software had been funded by IPA (http://www.ipa.go.jp/)