A Lex scanner and Yacc parser are in the comp.sources.unix volume 13 archive.
[More detail?]
Try this search on Wikipedia, OneLook, Google