PATH programming language 0.33 review

Download
by rbytes.net on

PATH is a very different programming language than what you are probably used to if you're an average programmer

License: MIT/X Consortium License
File size: 0K
Developer: Francis
0 stars award from rbytes.net

PATH is a very different programming language than what you are probably used to if you're an average programmer. If you've programmed in the language Brainf*ck, you'll recognize the memory cell architecture. Also, Befunge programmers will recognize the two-dimensional way that PATH programs are laid out.

PATH programs are laid out on a two-dimensional grid. It follows a path of instructions on the program grid, turning 90 degrees when instructed to (hence the name). A character recognized by the interpreter is called an instruction symbol.

To show you what a PATH program actually looks like, here's a simple program that coincidentally spells out the word "PATH" in large ASCII art letters. (You may recognize it from the PATH program homepage, and it's also included with the interpreter.) All it does is make the console beep. I'll explain it in detail later, once you know what all the instruction symbols do.

The interpreter starts at the first "$" symbol it finds and starts heading right. Every time it encounters a valid instruction symbol, it executes it. When it encounters certain special symbols, it may turn in another direction.

The interpreter keeps going until it reaches a "#" symbol. If it encounters a character that is not a valid instruction symbol, it ignores it and skips over it.

PATH programming language 0.33 search tags