Example Lex and Yacc Programs

Here are a number of short Lex programs to demonstrate what sorts of things you can do with Lex . Several of these programs are copied from the book lex & yacc by John R. Levine, Tony Mason, and Doug Brown, published by O'Reilly & Associates, 1992.

Last modified: Wed Oct 3 10:30:32 EDT 2007
Stephen Bloch / sbloch@boethius.adelphi.edu