Code

frontend: Added flex/bison based parser skeleton.
authorSebastian Harl <sh@tokkee.org>
Tue, 31 Dec 2013 00:05:22 +0000 (01:05 +0100)
committerSebastian Harl <sh@tokkee.org>
Tue, 31 Dec 2013 00:05:22 +0000 (01:05 +0100)
commit4215d1d8c69367c1d43bed9d39d428a92b329a92
tree5cc2fed5b0f0c69403bcb247b271fafcd49a96e4
parent136847eb2b37bcc06e4a407d261958bdf1f5cbc5
frontend: Added flex/bison based parser skeleton.

For now, this implements a mostly empty parser and helper functions to parse
strings (rather than open files). The parser accepts the "LIST" command and
ignores SQL and C style comments.
13 files changed:
.gitignore
src/Makefile.am
src/frontend/grammar.y [new file with mode: 0644]
src/frontend/parser.c [new file with mode: 0644]
src/frontend/scanner.l [new file with mode: 0644]
src/include/frontend/connection.h
src/include/frontend/parser.h [new file with mode: 0644]
src/include/frontend/proto.h
src/tools/sysdb/scanner.l
t/Makefile.am
t/frontend/parser_test.c [new file with mode: 0644]
t/libsysdb_test.c
t/libsysdb_test.h