mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-25 04:55:04 +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.
|
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
|
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
|
References
|
||||||
----------
|
----------
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
; TODO: just adding temporarily until import is supported.
|
; TODO: just adding temporarily until import is supported.
|
||||||
; idea is to try and see how the C code needs to change to
|
; idea is to try and see how the C code needs to change to
|
||||||
(import (scheme base)
|
(import (scheme base)
|
||||||
|
(scheme write)
|
||||||
(libs lib1)
|
(libs lib1)
|
||||||
;(rename (prefix (libs lib1) test-))
|
;(rename (prefix (libs lib1) test-))
|
||||||
)
|
)
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
(export lib1-hello lib1-test)
|
(export lib1-hello lib1-test)
|
||||||
(include "lib1.scm")
|
(include "lib1.scm")
|
||||||
(import (scheme base)
|
(import (scheme base)
|
||||||
;(scheme write)
|
(scheme write)
|
||||||
(libs lib2))
|
(libs lib2))
|
||||||
(begin
|
(begin
|
||||||
(define (internal-func)
|
(define (internal-func)
|
||||||
|
|
1
test.scm
1
test.scm
|
@ -1,4 +1,5 @@
|
||||||
(import (scheme base)
|
(import (scheme base)
|
||||||
|
(scheme write)
|
||||||
(scheme read))
|
(scheme read))
|
||||||
|
|
||||||
(write `(read ,(+ 1 2 3)))
|
(write `(read ,(+ 1 2 3)))
|
||||||
|
|
Loading…
Add table
Reference in a new issue