Skip to content

Commit

Permalink
install docs; light changes to intro.md, core.md; demo/hello.scm
Browse files Browse the repository at this point in the history
  • Loading branch information
stnbu committed Sep 3, 2018
1 parent bf71930 commit c80c7ac
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 2 deletions.
23 changes: 23 additions & 0 deletions docs/install.md
@@ -0,0 +1,23 @@
Installing Irken
================

Irken can be downloaded from its GitHub page.

Clone the `master` branch of the `irken-compiler` repository

git clone https://github.com/samrushing/irken-compiler.git

Change to the newly created repository directory and run the python bootstrap script

cd irken-compiler
python util/bootstrap.py

Compilation will take a few minutes. If you don't get any error messages, you should be ready for installation. The installation process will install all files under `/usr/local`. To install:

python util/install.py

Once complete, you can confirm that Irken is installed and ready to use by compiling a simple demo program. Assuming `/usr/local/bin` is in your path:

irken demo/hello.scm
demo/hello
Hello, World!
1 change: 0 additions & 1 deletion docs/intro.md
Expand Up @@ -156,7 +156,6 @@ Which can now be called:

```scheme
(+ 1 (double x))
(double (double x))
```

Here is a factorial function:
Expand Down
2 changes: 1 addition & 1 deletion docs/lib/core.md
@@ -1,6 +1,6 @@

The Core Library
----------------
================

The 'core' (in `lib/core.scm`) contains the lowest-level primitives, a
sort of minimal set of features needed by any program.
Expand Down

0 comments on commit c80c7ac

Please sign in to comment.