Spoon_interpreter Spoon_interpreter

Spoon interpreter - Definition and Overview

Related Words: Artist, Commentator, Critic, Cryptanalyst, Cryptographer, Cryptologist, Decoder, Demonstrator, Editor, Exegete

Spoon is an esoteric programming language written by S. Goodwin in 1998. Spoon is based on Brainfuck. To compose a Spoon program, the programmer strings together a sequence of tokens comprised of nothing but the textual characters "0" and "1".

It was designed by converting the 8 instructions of brainfuck to binary sequences using Huffman coding, and then adding two new instructions: EXIT (which immediately terminates execution) and DEBUG (which outputs the entire memory array). This gives the following instructions:

Spoon instruction Brainfuck equivalent
1 +
000 -
010 >
011 <
0011 ]
00100 [
001010 .
0010110 ,
00101110 None ("DEBUG")
00101111 None ("EXIT")


The language also allows some other characters to be substituted for '0' and '1', or even for '0' and '1' to be swapped (as long as the interpretter is told this on execution). It is thus possible to create Spoon programs which are also ASCII art.

Hello world

The hello world program is written in Spoon as follows:

0101111111110010001111111111010000001101100101001011111110010001111110
1000000110111001010111111100101000101011100101001011111111111001000110
0000000000000000001000000110110000010100000000000000000000000000000000
0000000101001011111111111001000111111101000000110110010100101111110010
0011111101000000110110010101110010100000000000000000000010100000000000
0000000000000000101001011111111111001000110000000000000000000100000011
011000001010

External links

Example Usage of interpreter

CncinatiTechJob: New #job: Medical interpreter--Bambara (Cincinnati) #jobs #tech http://bit.ly/8cYAg2
Davanac: ouch ... effectivement, difficile à interpréter RT @philaloux révélateur et/ou inquiétant: aucun n'a été sollicité...
mattstevensnc: "You're the first emotional interpreter of the text when you're leading a song" @kevinjtwit http://bit.ly/5uPdtq
Copyright 2009 WordIQ.com - Privacy Policy  :: Terms of Use  :: Contact Us  :: About Us
This article is licensed under the GNU Free Documentation License. It uses material from the this Wikipedia article.