Understanding hand written lexers
- by Cole Johnson
I am going to make a compiler for C (C99; I own the standards PDF), written in C (go figure) and looking up on how compilers work on Wikipedia has told me a lot. However, after reading up on lexers has confused me. The Wikipedia page states that:
the GNU Compiler Collection (gcc) uses hand-written lexers
I have tried googling what a hand…