So I wrote up this little decoder script that i'll release at thursday's
clinic (at efn and online) but I figured i'd release the grammar ahead of
time so that everyone could have their code ready and so that their
friends would already have the codes and that way the jokes will be
funnier ;-}
This will also give me a chance to wrap a cgi-script around it and test it
a bit.
Caveat: S* should really only be used by one person...
mail me suggestions for other categories, oneliners for output etc.
----
Grammar For EugLugCode version 0.1
The very first version of the euglug code is pretty basic, it's a
space separated list of tokens of the form
<category><modifier>
where <category> :=
S //six degrees of seth
v // vi editor or illness
e // the one true editor
eug // Eugene and associations
bsd // the other alternative OS
gnu // the gnu, gnu thing
and where <modifier> :=
+ mildly positive
++ very positive
+++ a tad obsessive
* The Ultimate
? utterly clueless about
- somewhat suspicious of
-- against
--- hate it
! The Anti
The tokens can be in any order, but shouldn't be repeated as later
instances of the same category will overwrite earlier ones. (this is a
bug, code exploiting this feature won't work on future revs)
A sample lugcode for someone who likes vi dislikes emacs knows seth
loathes eugene and the GPL but likes BSD would be:
v++ e-- S+ eug-- gnu--- bsd++
Which would compile to:
>>> d = decoder()
>>> cb = 'v++ e-- S+ eug-- gnu--- bsd++'
>>> d.parse(cb)
>>> d.show()
On the topic of vi I think:
vi's sensible command set and responsiveness keep me productive.
On the topic of emacs I think:
M-x doctor --if you're using emacs that much you need medical help.
On the topic of Eugene I think:
I'm allergic to trees, patchouli, political correctness and teargas.
On the topic of Seth I think:
I know who Seth is.
On the topic of the GPL I think:
Godless Programming Licentiousness, <foaming-at-mouth> this viral communistic threat
to our precious...
On the topic of BSD I think:
cvsup; make world; is conceptually better than apt-get.
>>>
l@ _________
ae premise 1: The Truth Makes No Sense ( )__
pf ____( )
rn premise 2: Beauty Is Truth ( )
i. / / / / / / / / / /
co conclusion: Beauty Is Unconscious / / / / / / / / / /
er \@/ http://www.efn.org/~laprice
g |
__________________________/_\_________________________________________________