[PD] Pd *is* a programming language!
padawan12
padawan12 at obiwannabe.co.uk
Fri Sep 29 13:36:27 CEST 2006
Excellent, you proved Pd Turing complete and improved its interface in one hack.
j/k :)
On Thu, 28 Sep 2006 17:25:02 +0100
Claude Heiland-Allen <claudiusmaximus at goto10.org> wrote:
> Hi everybody,
>
> Remember those long discussions about whether Pd is a programming
> language or (an inferior) something else?
>
> Well, to settle the matter, I made a brainf*ck[1] interpreter in vanilla
> Pd using no externals[2].
>
> Now you can be sure that you can compute anything computable[3] using
> your favourite multimedia tool!
>
> As Pd's string handling sucks, output is a printout of the decimal value
> of each character.
>
> Keyboard input is through [key], so you enter characters fairly
> naturally (wait for the yellow signal before you type each character).
> There is no way to indicate end-of-file.
>
>
> [1] http://en.wikipedia.org/wiki/Brainfuck
>
> [2] As Pd's string handling sucks, you need to convert your .bf source
> code into decimal form before loading it. A simple C program
> "decdump.c" to do this is attached.
>
> [3] Provided it can be computed within the memory available, which in
> this interpreter is 1,000,000 cells each being an integer from 0 to 255
> inclusive.
>
>
> Claude
> --
> http://claudiusmaximus.goto10.org
>
>
More information about the Pd-list
mailing list