Matrix stack language

From ScienceZero
Revision as of 19:44, 3 February 2007 by Bjoern (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Matrix emulator

A stack based programming language with a two-dimensional program counter

This is a stack based language with a two-dimensional program pointer. It has no practical purpose except for making you think. It was made for exploring the feasability of constructing a two-dimensional microcontroller. The concept of two-dimensional programs fits well with the human mind but seems to have no real benefits for a CPU. This project may surface again as a two-dimensional compiler. It uses reverse Polish notation.

Using reverse Polish notation makes it possible to make a language that is almost syntax free as opposed to the syntax quagmire of C++.

Interpreter and some samples: matrix2.zip (1.9 MB)