After takin a swig o' Arrakan spice grog, "Relaxin" <noname@spam.com> belched out...:
> What is flex/bison ?
Bison is the GNU Project parser generator, in the style of yacc (Yet
Another Compiler Compiler).
Flex is the GNU Project "fast lexical analyzer generator," in the
style of lex.
These are used to generate parser code that knows how to recognize (in
this case) the SQL language.
Obviously, an SQL database must include some way of reading through
queries and parsing out whether they are valid, and if they are, what
the database is supposed to do with them. Flex and Bison do that part
of the work.
--
"cbbrowne","@","acm.org"
http://cbbrowne.com/info/x.html
Rules of the Evil Overlord #212. "I will not send out battalions
composed wholly of robots or skeletons against heroes who have qualms
about killing living beings. <http://www.eviloverlord.com/>