Sunday, May 07, 2006

Programming Languages - a new beginning

Well.....I thought programming languages today had to become more and more object oriented and should have a more English-like syntax....well....I happened to run across a programming language called Brainfuck that now has a .net compiler...The programming language only has 8 commands:
+ Increment value under pointer
- Decrement value under pointer
> Increment pointer
< decrement pointer
. Output the byte at the pointer.
, Input a byte and store it in the byte at the pointer.
[ Jump forward past the matching ] if the byte at the pointer is zero.
] Jump backward to the matching [ unless the byte at the pointer is zero.

If you are interested in writing really small programs...Google it or use this links:
http://en.wikipedia.org/wiki/Brainfuck
http://www.soulsphere.org/stuffage/bf.net/
http://esoteric.sange.fi/brainfuck/

No comments: