by c4m on 4/26/12, 5:01 AM with 31 comments
by jbert on 4/26/12, 9:51 AM
As a bonus, the Acme::Bleach module will take an existing perl program and convert it (overwrite it) with a version written in whitespace.
"The first time you run a program under use Acme::Bleach, the module removes all the unsightly printable characters from your source file. The code continues to work exactly as it did before, but now it looks like this:"
http://search.cpan.org/~dconway/Acme-Bleach-1.13/lib/Acme/Bl...
by BasDirks on 4/26/12, 9:21 AM
Error handling
If your program has a runtime error or a compiletime error the interpreter
will print "Parenthesis Mismatch" to standard output and then exit.
Priceless. The sad thing is that most "modern" programming language offer basically identical erro reporting.by ctdonath on 4/26/12, 1:06 PM
by SkyMarshal on 4/26/12, 7:22 AM
by avmich on 4/26/12, 4:28 PM
Such a set may consist from only one function. So, the whole program is a structure of calling that function. Writing down such a program, we obviously don't need to write the function - it comes by default; we only need to write the structure, which can be represented by ( and ) . In a different way, than what I see here, but still - one bit per parenthesis, very simple processor, lots of memory and lots of steps for simple operations - a Turing tarpit...
by drostie on 4/26/12, 10:01 AM
The first idea is that you normally use at least 2 symbols for a programming language, but you can in principle get away with just one. The "vanilla" form of this idea is to use the length of the processed string as the instruction itself -- that is, it has a bit pattern which gives you two symbols to play with in principle. Of course that's pretty ugly so you can instead do something slightly more "advanced" and use a non-character as a delimiter; the most obvious choice is file boundaries on a filesystem, but in principle any data structure boundary can be used.
The second useless language that I want to create is one which I'm not even completely sure works. The idea is that you have some number of nodes -- let's say 256 -- which each contain some number of bytes -- let's say 4. Those bytes represent two (node pointer, instruction) tuples. These get initialized to a definite 1KB prelude, and the computer starts at node 0. The instructions can also manipulate registers and a much larger memory space, and can load ints from that memory into other nodes, but the 1 KB is needed for the interpreter.
The idea for this useless language is that, the computer chooses one of the two tuples randomly, performs its instruction, and then goes to the node it points to. >:D
The basic idea is that all esoteric languages seem to be about "how do you program familiar thing X if you don't have Y?", but I have 256 instructions so I'll give you all sorts of wonderful functions to call on your registers. The problem is really just that the computer does not natively want to follow a deterministic path, and you have to "herd it" into that mentality.
by saintfiends on 4/26/12, 7:44 AM
by samikc on 4/26/12, 7:35 AM
[1]http://en.wikipedia.org/wiki/Esoteric_programming_language#T...
by listrophy on 4/26/12, 1:43 PM
by duck on 4/26/12, 11:49 AM
by roop on 4/26/12, 7:21 AM
I initially thought it would have been a pain to write just the test programs, but I guess they were just programatically search-replaced from Lisp programs?
by asmala on 4/26/12, 8:25 AM
by tferris on 4/26/12, 8:48 AM
by cafaro on 4/26/12, 12:56 PM
by arunoda on 4/26/12, 12:43 PM
by zupa on 4/26/12, 12:07 PM
by chinnikrishna55 on 4/26/12, 10:34 PM
by zalew on 4/26/12, 8:49 AM
by maak on 4/26/12, 12:01 PM
by debelbot on 4/26/12, 7:54 AM
by krsunny on 4/26/12, 7:10 AM
by jjaredsimpson on 4/26/12, 7:05 AM