Difference between revisions of "Matrix stack language"
From ScienceZero
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | [[image:Matrix2emulator.png|right|thumb] | + | [[image:Matrix2emulator.png|right|thumb|Matrix emulator]] |
A stack based programming language with a two-dimensional program counter | 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 | + | 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 | + | 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: [http://www.sciencezero.org/download/computing/matrix2.zip matrix2.zip (1.9 MB)] | Interpreter and some samples: [http://www.sciencezero.org/download/computing/matrix2.zip matrix2.zip (1.9 MB)] |
Latest revision as of 19:44, 3 February 2007
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)