Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/birchb1024/genyris

Genyris presents a new programming paradigm. Objects can belong to multiple classes independent from construction allowing data to be classified into types after creation.
https://github.com/birchb1024/genyris

functional-programming java lisp-interpreter scheme-interpreter semantic-web

Last synced: 2 days ago
JSON representation

Genyris presents a new programming paradigm. Objects can belong to multiple classes independent from construction allowing data to be classified into types after creation.

Awesome Lists containing this project

README

        

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