Hello,
I'm looking for a hand-written free lexer/scanner for any language, even a toy language written in a language similiar to C/C++. I am a beginner in creating languages and compiler design, I'd like to play around with the source.
For example, theres a hand written lexer on this website before the flex generated lex: http://en.wikipedia.org/wiki/Flex%5Flexical%5Fanalyser
Thanks.