Tree @rel_1_0_2014_0819 (Download .tar.gz)
GraNoLa/M
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 doc
directory
for a more complete description of the GraNoLa/M language.
This distribution also contains an interpreter for GraNoLa/M written in
Erlang, as granolam.erl
in the src
directory.
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 make.sh
.
After the module is built, run the script granolam_shell
in the bin
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 realpath
.
To run the built-in test cases, start an Erlang shell and run
granolam:test(N).
where N is an integer from 1 to 7.
Commit History
@rel_1_0_2014_0819
git clone https://git.catseye.tc/GraNoLa-M/
- Bah. Had I seen that NetBSD supports head -c... ah well. Cat's Eye Technologies 10 years ago
- Aha. No newlines allowed in GraNoLa/M programs, it seems. Cat's Eye Technologies 10 years ago
- 'run' and 'parse' verbs on bin/granolam. More tests. Fix one. Cat's Eye Technologies 10 years ago
- Add test driver. Three passing tests in a Falderal test suite. Cat's Eye Technologies 10 years ago
- Modernize. Suppress warnings. Go for escript. Cat's Eye Technologies 10 years ago
- Add some (very) failing tests. Cat's Eye Technologies 10 years ago
- Typos abound. catseye 12 years ago
- Add UNLICENSE. catseye 12 years ago
- Don't ship with (old) .beams, Markdownify, subdirs, add script. catseye 12 years ago
- Added tag rel_1_0_2002_0314 for changeset 1714268c3ec1 Cat's Eye Technologies 12 years ago