I know most people anymore use lex/yacc or some derivative of these
tools to create scanner/parser modules for their compiler projects. I
was wondering if anyone has developed a scanner or parser that they
personally hand-wrote? If so, I would like to know what language you
used and what type of grammar you parsed. If you feel divulgent,
please tell me a little bit about you're implementation or what you
did for intermediate representation. I'm curious and just a bit nosy
and would like to know how you're experience went doing things this
way. Thanks.
[I hand-wrote a scanner for Fortran 77 about 30 years ago. It worked but
it was pretty gross because Fortran's lexical structure is so strange. -John]