The Graph! Manifesto Posted on 2016-12-19

Category: projects

Graph! is a programming language designed for Higher maths teachers and is a derivative (no pun intended) of the esoteric programming language, Ook! by David Morgan-Mar which is isomorphic to BrainFuck

Core Principles

Language Concepts

Memory Array and Pointer

Graph! uses an array of integers as storage space, all initially set to zero. A Memory Pointer begins pointing at the first array cell and can boost about.

Comments

Since graphs can convey entire ideas, emotions, and abstract thoughts depending on the nuances of their curvature, Graph! has no need of comments. The code itself serves perfectly well to describe in detail what it does and how it does it. Provided you are a higher maths teacher.

Syntax Elements

Graph has only 3 distinct syntax elements:

These are combined into 'blocks' of two, and the various combinations of pairs specify commands. Programs must thus contain an even number of "Graph"s. Line breaks are ignored.

Commands

Um, that's it. That's the whole language. What do you expect for something usable by higher maths teachers?


Interpreter

Available as a standalone executable for Windows and Debian. To interpret a program, type:

Graph! /path/to/code

The interpreter also has some basic linting functionality and comes with a few example programs. More to come soon.

blog | rosshudson.tk