Tree @master (Download .tar.gz)
README.markdown @master — view markup · raw · history · blame
This is the reference distribution for the esoteric programming language GraNoLa/M.
GraNoLa/M is a programming language in which the directed graph is the
only data type. See the file
GraNoLa-M.markdown in the
for a more complete description of the GraNoLa/M language.
This distribution also contains an interpreter for GraNoLa/M written in
granolam.erl in the
You need an Erlang compiler at least at language version 4.4 to compile
granolam.erl. This program was developed with OTP/R8B, so that is the
recommended platform for using it, although more recent versions should
work as well. (It has recently been tested with R17.)
To build the
granolam module, run the script
After the module is built, run the script
granolam_shell in the
directory to start a GraNoLa/M shell.
Or you can run
bin/granolam run filename to run a GraNoLa/M program
written in a text file on the filesystem. This uses
escript, so you
don't have to build the module first. But you need
To run the built-in test cases, start an Erlang shell and run
where N is an integer from 1 to 7.