Skip to content
forked from jgarzik/sqlfun

Modern SQL parser using Bison (Yacc) and Flex

License

Notifications You must be signed in to change notification settings

windflowerly/sqlfun

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  1. GNU Flex
  2. GNU bison
  3. GNU autotools (autoconf, automake, etc.)
  4. A C compiler

Standard GNU autotools building instructions:

$ ./autogen.sh
$ ./configure
$ make && make check
$ sudo make install

About

Modern SQL parser using Bison (Yacc) and Flex

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Yacc 38.7%
  • C 34.4%
  • Lex 13.9%
  • JavaScript 5.8%
  • M4 3.7%
  • C++ 1.4%
  • Other 2.1%