mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-23 20:15:05 +02:00
WIP
This commit is contained in:
parent
603cfeb29f
commit
97d4913a60
4 changed files with 8 additions and 24 deletions
28
README.md
28
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 [R<sup>7</sup>RS 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 [R<sup>7</sup>RS 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
|
||||
----------
|
||||
|
|
|
@ -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-))
|
||||
)
|
||||
|
|
|
@ -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)
|
||||
|
|
1
test.scm
1
test.scm
|
@ -1,4 +1,5 @@
|
|||
(import (scheme base)
|
||||
(scheme write)
|
||||
(scheme read))
|
||||
|
||||
(write `(read ,(+ 1 2 3)))
|
||||
|
|
Loading…
Add table
Reference in a new issue