From 97d4913a602d10a48410d70b9d113b9c5a24a392 Mon Sep 17 00:00:00 2001 From: Justin Ethier Date: Fri, 24 Jul 2015 21:26:56 -0400 Subject: [PATCH] WIP --- README.md | 28 +++++----------------------- examples/hello-library/hello.scm | 1 + examples/hello-library/libs/lib1.sld | 2 +- test.scm | 1 + 4 files changed, 8 insertions(+), 24 deletions(-) diff --git a/README.md b/README.md index abfaa6c1..4c9eeb0d 100644 --- a/README.md +++ b/README.md @@ -9,32 +9,14 @@ If you are installing Cyclone on your machine for the first time use [cyclone-bo After installing you can run the `cyclone` command to compile a single Scheme file, and the `icyc` command to start an interactive interpreter. -Building ------------- - -Please skip this section if you are installing Cyclone on a machine for the first time. Otherwise, if you already have a copy of Cyclone installed you can build from Scheme source. - -The following prerequisites are required: - -- make -- gcc -- Existing installation of Cyclone - -From the source directory, use the following commands to build and install: - - $ make - $ make test - $ sudo make install - $ ./cyclone - -By default everything is installed under `/usr/local`. This may be changed by passing a different `PREFIX`. For example: - - make PREFIX=/home/me install - Documentation ------------- -For more information about the Scheme language implemented by Cyclone, see the [R7RS Scheme Specification](http://trac.sacrideo.us/wg/wiki). The [features](FEATURES.md) page lists what has been implemented so far. +For more information about the Scheme language implemented by Cyclone, see the [R7RS Scheme Specification](http://trac.sacrideo.us/wg/wiki). + +The [features](FEATURES.md) page lists what has been implemented so far. + +The [development](docs/Development.md) page contains instructions for hacking on Cyclone. References ---------- diff --git a/examples/hello-library/hello.scm b/examples/hello-library/hello.scm index 18f113ae..9c060823 100644 --- a/examples/hello-library/hello.scm +++ b/examples/hello-library/hello.scm @@ -1,6 +1,7 @@ ; TODO: just adding temporarily until import is supported. ; idea is to try and see how the C code needs to change to (import (scheme base) + (scheme write) (libs lib1) ;(rename (prefix (libs lib1) test-)) ) diff --git a/examples/hello-library/libs/lib1.sld b/examples/hello-library/libs/lib1.sld index 0dfa1709..632e8d26 100644 --- a/examples/hello-library/libs/lib1.sld +++ b/examples/hello-library/libs/lib1.sld @@ -8,7 +8,7 @@ (export lib1-hello lib1-test) (include "lib1.scm") (import (scheme base) - ;(scheme write) + (scheme write) (libs lib2)) (begin (define (internal-func) diff --git a/test.scm b/test.scm index 373ab700..ac4233e8 100644 --- a/test.scm +++ b/test.scm @@ -1,4 +1,5 @@ (import (scheme base) + (scheme write) (scheme read)) (write `(read ,(+ 1 2 3)))