494 B
494 B
sqlfun
An SQL parser, generated from Bison (Yacc) and Flex (Lex).
Original version - most of the work - comes from John Levine's Flex & Bison book published by O'Reilley.
Example usage:
$ echo "SELECT a.name,b.address FROM people ORDER BY name;" | ./sql
Requirements
- GNU Flex
- GNU bison
- GNU autotools (autoconf, automake, etc.)
- A C compiler
Standard GNU autotools building instructions:
$ ./autogen.sh
$ ./configure
$ make && make check
$ sudo make install