author | Sebastian Harl <sh@tokkee.org> | |
Tue, 31 Dec 2013 00:05:22 +0000 (01:05 +0100) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Tue, 31 Dec 2013 00:05:22 +0000 (01:05 +0100) | ||
commit | 4215d1d8c69367c1d43bed9d39d428a92b329a92 | |
tree | 5cc2fed5b0f0c69403bcb247b271fafcd49a96e4 | tree | snapshot |
parent | 136847eb2b37bcc06e4a407d261958bdf1f5cbc5 | commit | diff |
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.
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 | diff | blob | history | |
src/Makefile.am | diff | blob | history | |
src/frontend/grammar.y | [new file with mode: 0644] | blob |
src/frontend/parser.c | [new file with mode: 0644] | blob |
src/frontend/scanner.l | [new file with mode: 0644] | blob |
src/include/frontend/connection.h | diff | blob | history | |
src/include/frontend/parser.h | [new file with mode: 0644] | blob |
src/include/frontend/proto.h | diff | blob | history | |
src/tools/sysdb/scanner.l | diff | blob | history | |
t/Makefile.am | diff | blob | history | |
t/frontend/parser_test.c | [new file with mode: 0644] | blob |
t/libsysdb_test.c | diff | blob | history | |
t/libsysdb_test.h | diff | blob | history |