Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.
Sign up
Modern SQL parser using Bison (Yacc) and Flex
| Type | Name | Latest commit message | Commit time |
|---|---|---|---|
| Failed to load latest commit information. | |||
|
|
build-aux |
|
|
|
|
.gitignore |
|
|
|
|
.travis.yml |
|
|
|
|
LICENSE |
|
|
|
|
Makefile.am | ||
|
|
README |
|
|
|
|
autogen.sh |
|
|
|
|
configure.ac |
|
|
|
|
exec.c |
|
|
|
|
fail1.sql |
|
|
|
|
fail3.sql |
|
|
|
|
fail4.sql |
|
|
|
|
fail5.sql |
|
|
|
|
lib.c |
|
|
|
|
libsqlpars-uninstalled.pc.in |
|
|
|
|
libsqlpars.pc.in |
|
|
|
|
main.c |
|
|
|
|
ok1.sql |
|
|
|
|
ok10.sql |
|
|
|
|
ok2.sql |
|
|
|
|
ok3.sql |
|
|
|
|
ok4.sql |
|
|
|
|
ok5.sql |
|
|
|
|
ok6.sql |
|
|
|
|
ok7.sql | ||
|
|
ok8.sql |
|
|
|
|
ok9.sql | ||
|
|
pscan.js | ||
|
|
scansql | ||
|
|
sql-parser.h | ||
|
|
sql.l |
|
|
|
|
sql.y |
|
|
|
|
test-fail.sh |
|
|
|
|
test-ok.sh |
|
|
|
|
tst-create-db.sql |
|
|
|
|
tst-create-table.sql |
|
|
|
|
tst-delete.sql |
|
|
|
|
tst-drop-db.sql |
|
|
|
|
tst-drop-table.sql |
|
|
|
|
tst-insert.sql |
|
|
|
|
xfail2.sql | ||
|
|
yyl.h | ||
README
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 Standard GNU autotools building instructions: $ ./autogen.sh $ ./configure $ make && make check $ sudo make install