Acme-Beatnik
view release on metacpan or search on metacpan
Acme::Beatnik - Source Filter to implement the Beatnik language
=head1 SYNOPSIS
use Acme::Beatnik;
blah blah blah
=head1 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.
=head1 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.
=head1 INSTRUCTION TABLE
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
=head1 ENGLISH TILESET
Since Scrabble has different letter values for different countries, there is a problem. Acme::Beatnik uses the English based tileset.
Future versions might include the possibility to have other tilesets as well.
A=1 B=3 C=3 D=2 E=1 F=4 G=2 H=4 I=1 J=8 K=5 L=1 M=3 N=1 O=1 P=3 Q=10 R=1 S=1 T=1 U=1 V=4 W=4 X=8 Y=4 Z=10
=head1 EXAMPLE
use Acme::Beatnik
Foo Bar Baz
Foo has word value 6, Bar has word value 5, Baz has word value 14. This does the following..
anise go origin Odin eels strains Sloan comedies indoor darn rites
outlets aorta lot insular ache aural haughty relater Reese Norma passe
atone Hanley rumen Lang glider slime edit scurvy bard dull flies
spell Santo sigh Gaulle stall important toys ager origin anoints noons
depositing tissues scrap dial raspberry uncle pot dequeue cup store battlegrounds
glares raise negator desist lads wales retains tied bride slope airer
Donner dips diet sure dry node deserted panel Anton Erne retard
laid sit Walt suits rubs Vera incites aster currying foal stall
iterating leader start ran Nugent Asian dogs beret dune distrust cab
Estes rebelliousness spout duet answerers Orleans Lotte mid Laotian redo enjoin
scout we Augustus color asset bedfast Sandia fraud deus flashers Brian
bin mast spilt Latin clasps limit logo no aureole snuggle dig
ad recta annal ethically ally toad Wu brag nears giddy Nugent
toils gunnery Tigris rusts annexes peels dent threatened nulled car asses
thin saga gaiter gape ancient Satan coalescing Dow soars Provence hag
irate Lesbians Adrian roles millipedes bald suds writing Maine logo appending
scars turns McLanahan erosion stile submariner bliss Connors lung opulent barns
pen eats assails rods premises trims grit alacrity acute con tar
orgies suds scram Oscar Tulsa Ainu Erastus dues art rolled rests
seeder boats reuse used gauge nouns typo entrust renal swirl stature
lead bleacher utensil dean rugs plain pun grated flit spider tries
lowland gangs Sam ampere arousal slits one rosy lids sear outruns
Orion accuracy fed dots fashions realm Silas truants orients tells brightens
Tamil onset lacking ink Ilona gentry cilia reals our drum blabs
alien leer borne lures McClellan tooled alter beehive blare aster hard
stadia Solon rend gentle deus acronyms stouter Odin Fauntleroy print risen
stun burst Euler doghouse Coors eerie too deep Elton in bode
Serpens replacement
use Acme::Beatnik;
slate inspecting abate lags thirdly insults sites Rankin Alva ruler vent
trims sum Ian Augean polled bat refereed instant Reese lie belts
dues west starter dues attest Boers inset worships relates lotus it
balls emotion dart proving fain Salle approver dialer Santo sir artists
goes briny Angelo Aleut Tunis Brian Cohn rolls bleat drum nests
merits grunts Dana Lana rooster train leathered Clara laser Owen font
boo UniSoft casts vistas rises doodle Pratt elite en minor Hegel
laser dent begs bee aborts pours Cray idea babbled gated nulls
Caribbean ocean Astor bottlers slider snail chasteness Auriga gnat soup erasers
sip Wellington realist Orion councilman nearest sang sue traps stare urinated
hull guns garland Paine Hettie souls Rickettsia adorns gnat nurses Gunnar
Wu lengthwise teared sorer canons kin Erato generalities Dugan alert Ithaca
unrolls sorer armload slurp dons bellhop Inman ager heater dildo Reese
( run in 1.221 second using v1.01-cache-2.11-cpan-49f99fa48dc )