-
Notifications
You must be signed in to change notification settings - Fork 1
/
README
58 lines (37 loc) · 1.16 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
Genyris README
LICENSE
Refer to the file "LICENSE"
INSTALLATION
Refer to the installation instructions in doc/reference/manual.pdf. Otherwise read on:
You need Java 1.6 JRE to run the Genyris interpreter. Check with your JRE
version with:
$ java -version
Set your GENYRIS_HOME environment variable to the root folder where you unpacked
the release. Add $GENYRIS_HOME/bin to your path.
Make the file $GENYRIS_HOME/bin/genyris executable.
Start the command-line interpreter with Java:
$ genyris
You will see a welcome message followed by a prompt:
*** Welcome birchb, Genyris version NNN-xxxxxxxxxxxx.bb is listening...
>
Commands can now be typed, use two carriage returns
to terminate each statement.
To test the installation run the self test suite with the following command:
> sys:self-test
All being well, it will print ``OK'' and the number of tests passed.
Examples of Genyris code are in the examples
folder and can be loaded as follows:
> include "examples/queens.g"
And run:
> run-queens 8
"
"Q......."
"....Q..."
".......Q"
".....Q.."
"..Q....."
"......Q."
".Q......"
"...Q...."
""
etc