Christopher Kings-Lynne wrote: > > Parsing is a whole nother ball of wax besides lexing. I wasn't planning > > to put *that* into psql. Remember the only thing psql really wants from > > this is to detect where end-of-statement is ... > > Forgive my lameness, but I've never truly figured out where parsing ends > and lexing begins. Anyone care to illuminate me on the difference?
The simplistic answer is the lexing breaks a string up into words/tokens, and parsing matches those tokens against patterns and fires actions. -- Bruce Momjian | http://candle.pha.pa.us [EMAIL PROTECTED] | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073 ---------------------------(end of broadcast)--------------------------- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])