Reading on lexical analysis: * "CS 164: Programming Languages and Compilers":http://www.cs.berkeley.edu/~hilfingr/cs164/public_html/lectures/note2.pdf (pdf) * "Lexical Analysis":http://dragonbook.stanford.edu/lecture-notes/Stanford-CS143/03-Lexical-Analysis.pdf (pdf) * "flex":http://flex.sourceforge.net/ * "The Lex & Yacc Page":http://dinosaur.compilertools.net/ * "γ-GLA":ftp://ftp.gwdg.de/pub/languages/rexx/uwaterloo/peter/gla.ps.gz (ps.gz) * "Lexical Analysis":http://eli-project.sourceforge.net/elionline/lex.pdf (pdf) γ-GLA is a part of "Eli":http://eli-project.sourceforge.net/.