#1
|
||||
|
||||
Esoteric Programming Languages
Recently, I browsed some esoteric programming languages(esolangs). Most esolangs are small, obfuscated.
Here are some: Befunge Code:
<v"Hello world"0 <,_@#: Code:
>V ^< Brainf**k Brainf**k has only 8 operators, they are: + increase current memory cell - decrease current memory cell < decrease memory pointer > increase memory pointer . prompt input , print current memory cell [ start loop ] go back to last [ if current memory cell is not zero The following code will make first cell 5, second cell 3 and third cell 4: Code:
+++++>+++>++++ Esolang wiki has all of them: http://esolangs.org/wiki/Main_Page |
#3
|
||||
|
||||
Re: Esoteric Programming Languages
I created a new esolang based on BF and Befunge. It is BrainSpace 1.0 .
http://code.google.com/p/brainspace/ Let's think for an esolang based on Snowpoint City Gym, where you slide on ice. |
#6
|
||||
|
||||
Re: Esoteric Programming Languages
Input is requested at every stopping space, asking for a direction to move. Output is presented at every space, telling you what directions you can move.
Another way is that the map could be hidden and the output will be what is in each direction. |
#7
|
||||
|
||||
Re: Esoteric Programming Languages
It should have a way to do math and output texts.
Memory Registers:
. Ice, it makes you keep moving forward ^v<> will only left you through if you come from the open end. Otherwise, you stop on the space in front of it (and accepts input). x = space you stop on , and it moves automatically based on the direction. + = Increase Memory under the pointer. - = Decrease Memory under the pointer. { = Decrease Memory Pointer } = Increase Memory Pointer [ = Rotate left for direction ] = Rotate right for direction & = ask input one character @ = output current memory under the pointer $ = end. * = start. The following program will ask user to input and repeat the output: Code:
*.&.V ....@ ...$. |
|