NAME
Acme::Beatnik - Source Filter to implement the Beatnik language
SYNOPSIS
use Lingua::Beatnik;
blah blah blah
ABSTRACT
The Beatnik language is a based on scrabble word values. Each value points to a different instruction.
The language is stack based and has a rather reduced instruction set.
DESCRIPTION
Beatnik is an esoteric programming language based on scrabble word values in the code. Each word value is linked to a certain instruction. The number of instructions is limited since there are only a certain number of values possible in Scrabble. Beatnik is a stack based programming language.
INSTRUCTION TABLE
Beatnik has the following word values linked to the instructions.
5 Push the next word value onto stack
6 Pop the first value from stack
7 Add the two topmost values from stack and push the result on stack
8 Read a character from input and push the ASCII value on stack
9 Read the first value from stack and print the character value
10 Subtract the two topmost values from stack and push the result back on stack
11 Swap the two topmost values from stack
12 Duplicate the first value from stack and push it onto stack
13 Move the Instruction Pointer X values forward if the first value on stack is zero (X being the next word value)
14 Move the Instruction Pointer X values forward if the first value on stack is not zero (X being the next word
value)
15 Move the Instruction Pointer X values backward if the first value on stack is zero (X being the next word value)
16 Move the Instruction Pointer X values backward if the first value on stack is not zero (X being the next word
value)
17 Halt the program
AUTHOR
Hendrik Van Belleghem, <hendrik@ldl48.org>
COPYRIGHT AND LICENSE
Copyright 2003 by Hendrik Van Belleghem
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.