Matrix stack language

From ScienceZero
Revision as of 11:46, 30 January 2007 by WikiSysop (Talk | contribs) (New page: 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 mak...)

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

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.9MB)