Tool for decoding / encoding in Spoon. Spoon is a minimalist programming language strongly inspired by Brainfuck and composed only of 0 and 1.
Spoon - dCode
Tag(s) : Programming Language
dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!
A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!
Spoon is an esoteric programming language, entirely inspired by Brainfuck. Spoon is distinguished by a coding table using only the symbols 0 and 1 and based on Huffman encoding making the code more compact.
The Spoon programming language reuses the 8 operators of Brainf*ck but the instructions are in binary so as to make it even more obfuscated! Spoon also includes two additional instructions, DEBUG and EXIT, to facilitate debugging and stopping the program.
Spoon | Brainfuck | Description |
---|---|---|
1 | + | increment +1 |
000 | - | décrement -1 |
010 | > | move right |
011 | < | move left |
00100 | [ | start loop |
0011 | ] | end loop |
001010 | . | output |
0010110 | , | input |
00101110 | debug | |
00101110 | exit |
Example: The Spoon program 11111111110010001010101110101111111010111111111101101101101100000110100100101111111111111001010010111111111111001010000001010001010000001010 corresponds to BF code ++++++++++[>+>+++>+++++++>++++++++++<<<<-]>>>+++++++++++++.>++++++++++++.-..-. and should output the 5 characters Spoon.
To learn how to code with Spoon programming language, the easiest way is to learn the basics of Brainfuck and manipulation of pointers.
dCode ignores DEBUG and EXIT instructions
The Spoon cannot be exactly decoded, it can be run through an interpreter/compiler. The compiler will perform the requested instructions, and sometimes output something.
Each output byte will appear in the dCode console.
The contents of the memory is also displayed.
The message is binary, composed only of values 1, 000, 010, 011, 00100, 0011, 001010 and 0010110
It is possible to change the representations of 1 and 0 to different symbols.
Spoon ignores spaces, tabs, and line breaks.
Steve Goodwin (Marquis de Geek) is the author of Spoon here
dCode retains ownership of the "Spoon" source code. Except explicit open source licence (indicated Creative Commons / free), the "Spoon" algorithm, the applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or the "Spoon" functions (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) and all data download, script, or API access for "Spoon" are not public, same for offline use on PC, mobile, tablet, iPhone or Android app!
Reminder : dCode is free to use.
The copy-paste of the page "Spoon" or any of its results, is allowed (even for commercial purposes) as long as you credit dCode!
Exporting results as a .csv or .txt file is free by clicking on the export icon
Cite as source (bibliography):
Spoon on dCode.fr [online website], retrieved on 2024-12-21,