Are you certain you want to use Lex? If no, you may like this fascinating and instructive lecture by Rob Pike, which solves a lexing problem using Golang: http://www.youtube.com/watch?v=HxaD_trXwRE
If you have "The Unix Programming Environment" handy, you will also find a lucid tutorial of Lex and Yacc both (in the later chapters). Nick On 2/27/12, [email protected] <[email protected]> wrote: > O'Reilly's "lex & yacc" is somewhat more user-friendly a reference than > the dragon book, although the latter certainly has its value. :-) > > Arnold > >
