mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-23 20:15:05 +02:00
Add shell examples
This commit is contained in:
parent
4c4979cd84
commit
0aa921a553
1 changed files with 28 additions and 1 deletions
29
README.md
29
README.md
|
@ -7,7 +7,34 @@ Getting Started
|
|||
|
||||
If you are installing Cyclone on your machine for the first time use [cyclone-bootstrap](https://github.com/justinethier/cyclone-bootstrap) to build a set of binaries.
|
||||
|
||||
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:
|
||||
|
||||
$ cyclone examples/fac.scm
|
||||
$ examples/fac
|
||||
3628800
|
||||
|
||||
And the `icyc` command to start an interactive interpreter:
|
||||
|
||||
$ icyc
|
||||
|
||||
:@
|
||||
@@@
|
||||
@@@@:
|
||||
`@@@@@+
|
||||
.@@@+@@@ Cyclone
|
||||
@@ @@ An experimental Scheme compiler
|
||||
,@ https://github.com/justinethier/cyclone
|
||||
'@
|
||||
.@
|
||||
@@ #@ (c) 2014 Justin Ethier
|
||||
`@@@#@@@. Version 0.0.1 (Pre-release)
|
||||
#@@@@@
|
||||
+@@@+
|
||||
@@#
|
||||
`@.
|
||||
|
||||
cyclone> (write 'hello-world)
|
||||
hello-world
|
||||
|
||||
Documentation
|
||||
-------------
|
||||
|
|
Loading…
Add table
Reference in a new issue