gfish: (Default)
gfish ([personal profile] gfish) wrote2003-06-19 03:15 am

Context Free Poetry

Maybe this makes me a huge geek, but I really, really like working with lex and yacc. They make me happy. I just think about them and I smile.

In their honor, some very forced haiku*:

1 lex:
#.* ; /* Ignore all comments */
[0-9] return NUMBER; [^ \t\n\r] return WORD;
[ \t\n\r] ; /* Ignore all whitespace */

2 yacc:
poemdef: name body
name: NUMBER words body: words
words: WORD | words WORD


*Only italicized words should be counted for syllable purposes. '|' is pronounced as 'or'.
ext_8908: Flapping crane (Default)

[identity profile] bientot.livejournal.com 2003-06-19 03:56 am (UTC)(link)
You're such a geek. Yes you are! Who's the geeky boy, then? Ooooh, such a geeky boy!

[identity profile] vixyish.livejournal.com 2003-06-19 11:53 am (UTC)(link)
That's why I married 'im!

Well okay, that's not the only reason. But it sure did help. :)