Which one is better for writing a SQL parser?
bayareaguy: I've used all of those at different times and for simple stuff they will all work.  I'd recommend picking whichever of YACC, Lemon or Antlr builds easily on your platform and is the least displeasing to others you expect may need to trace through the code.Oh and if for some reason you end up using flex somewhere, don't forget to specify the "-8" option to ensure it generates an 8-bit clean scanner.