neostfox / sqlfun

Modern SQL parser using Bison (Yacc) and Flex

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:Other


Languages

Language:Yacc 38.8%Language:C 35.9%Language:Lex 14.0%Language:JavaScript 5.8%Language:M4 3.7%Language:Makefile 1.0%Language:Shell 0.7%