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'.
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'.
no subject
Well okay, that's not the only reason. But it sure did help. :)