leque / digamma

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Digamma

R7RS/R6RS Scheme Implementation derived from Ypsilon (fujita-y/ypsilon).

  • Copyright (c) 2004-2019 Yoshikatsu Fujita / LittleWing Company Limited.
  • See LICENSE file for terms and conditions of use.

Run

  • To run R7RS script from project root, try following:
./digamma --r7rs --top-level-program --disable-acc --sitelib=./stdlib -- test/r7rs-sample.scm

Limitations and Notes

  • REPL start with '(import (core))' regardless what command line option is given.
  • Without '-top-level-program', the contents of the specified script file will be interpreted as if they had been entered into the REPL.

Rebuild Heap Files

  • open 'src/core.h' and set 'UNBOUND_GLOC_RETURN_UNSPEC' to '1'
  • $ make
  • $ cd heap
  • open and edit 'boot/libraries.scm' for example
  • $ make
  • $ cd ..
  • $ make
  • $ cd heap
  • $ make
  • $ cd ..
  • open 'src/core.h' and set 'UNBOUND_GLOC_RETURN_UNSPEC' to '0'
  • $ make

About

License:BSD 2-Clause "Simplified" License


Languages

Language:C++ 49.9%Language:Scheme 47.9%Language:C 1.3%Language:TeX 0.9%Language:Makefile 0.1%