Commit Graph

  • 84c844964e TOTAL GNU DEATH master origin/master origin/HEAD anon 2024-02-22 19:05:19 +01:00
  • 1ada39fce4 ignore gdb/csope anon 2024-02-13 18:21:30 +01:00
  • 5b82720814 work on strings too anon 2024-02-13 18:20:25 +01:00
  • f1ca33fa3a restored return value commit anon 2024-02-12 23:42:26 +01:00
  • a646916e93 header compatibility with C++ anon 2024-02-12 22:20:44 +01:00
  • 9f05171775 -configure~ anon 2024-02-12 21:11:00 +01:00
  • 1c687aba0c directory ordering anon 2024-02-12 21:07:48 +01:00
  • 4a540661e2 set yyerrno on recoverable error anon 2024-02-12 19:10:08 +01:00
  • 84b98f93d3 sql.y: fix compilation error due to multiple definitions anon 2024-02-11 20:47:40 +01:00
  • 937ca61069 README: add deps Jeff Garzik 2019-10-08 08:25:21 -04:00
  • cf2bb94db6 add basic DELETE Jeff Garzik 2019-01-05 22:12:29 -05:00
  • 544073486f sql.y: remove no-longer-needed type specifiers inside flags Jeff Garzik 2019-01-05 13:54:25 -05:00
  • 168117198d Explicitly extract data type, rather than relying on bitwise flags. Jeff Garzik 2019-01-05 13:26:07 -05:00
  • 3cb24ce3b3 Continue work separating parser into clean library module. Jeff Garzik 2019-01-05 12:19:50 -05:00
  • e0d92a4749 sql.y: remove memory leak on exit, for valgrind Jeff Garzik 2019-01-05 11:28:38 -05:00
  • b195df18c7 Update tests, and exclude tst*.sql for now. Jeff Garzik 2019-01-05 11:21:09 -05:00
  • a5e6e0715c Improve INSERT column parsing and diagnostics. Jeff Garzik 2019-01-05 11:18:25 -05:00
  • 6546207fe2 sql.l: strip string start/end delimiters from value Jeff Garzik 2019-01-05 11:18:04 -05:00
  • faa138ed65 pscan: no need to store field-count fields Jeff Garzik 2019-01-05 10:29:41 -05:00
  • 663c02e791 scansql: new tool to create stream, then parse it Jeff Garzik 2019-01-05 10:23:50 -05:00
  • 4e30fca128 pscan: add DROP TABLE and INSERT Jeff Garzik 2019-01-05 10:08:33 -05:00
  • 20164e984d pscan: add DROP DATABASE Jeff Garzik 2019-01-05 09:38:54 -05:00
  • de88152e89 Add more test data Jeff Garzik 2019-01-05 03:20:30 -05:00
  • 3b8af29be2 pscan: Support CREATE DATABASE. Begin SELECT support. Jeff Garzik 2019-01-05 02:48:45 -05:00
  • b55855e24f Add pscan tool, to convert JSON parse stream into AST-like object Jeff Garzik 2019-01-05 02:35:54 -05:00
  • 75ee778e7e Fix minor bugs: some int-to-boolean JSON conversions were missed. Jeff Garzik 2019-01-05 01:33:36 -05:00
  • 7e443f45fe Improve comparison operator output. Jeff Garzik 2019-01-05 01:17:12 -05:00
  • 3afcaf06f6 Finish conversion of program output to JSON stream. Jeff Garzik 2019-01-05 00:48:12 -05:00
  • 2489a77413 Continue conversion of printf() output to JSON. Jeff Garzik 2019-01-05 00:26:01 -05:00
  • d6090d0829 travis: install jansson pkg Jeff Garzik 2019-01-04 23:19:32 -05:00
  • 0a18c5ef1a Begin conversion of stdout data to JSON stream. Jeff Garzik 2019-01-04 23:15:46 -05:00
  • bfe394f29e Version 0.0.2 Jeff Garzik 2018-02-17 00:16:07 -05:00
  • 3903ab0cbb sql.l: Handle square bracket column names Jeff Garzik 2018-02-17 00:13:29 -05:00
  • dd40182dce Fix missing yyerror arg. Fixes Jeff Garzik 2018-02-16 23:53:30 -05:00
  • a6595bbf20 travis: disable osx Jeff Garzik 2018-02-16 23:26:05 -05:00
  • 89692992e1 Travis OSX: don't install libtool; it's already present Jeff Garzik 2016-07-30 18:35:17 -04:00
  • 0c1b8d89b4 Travis: Enable OSX build Jeff Garzik 2016-07-30 18:27:10 -04:00
  • 252ba66e58 Travis: Avoid parallel make (temp workaround) Jeff Garzik 2016-07-29 16:51:44 -04:00
  • e1a7f3ee7a sql.y: remove 'full' from api.pure, for compat w/ older bison Jeff Garzik 2016-07-29 16:46:49 -04:00
  • 40ad74b2ba sql.y: separate parse-param params onto separate lines, for compat with older bisons. Jeff Garzik 2016-07-29 16:43:21 -04:00
  • 1c44fab959 Travis clean-up Jeff Garzik 2016-07-29 16:32:16 -04:00
  • 51d7f01c3d Add Travis-CI config Jeff Garzik 2016-07-29 16:26:07 -04:00
  • 379dc16c5e Add simple test suite. Jeff Garzik 2016-07-29 16:24:02 -04:00
  • 4e996af1b1 README: add build docs Jeff Garzik 2016-07-29 16:16:07 -04:00
  • 49aa79705f sql.y: program returns success (0) or fail (1) depending on parse outcome. Jeff Garzik 2016-07-29 09:24:42 -04:00
  • b3db299602 .gitignore: ignore 'Makefile' Jeff Garzik 2016-07-29 06:28:30 -04:00
  • e1e9c6558c Switch to autoconf/automake/libtool. Jeff Garzik 2016-07-29 06:27:45 -04:00
  • 32043a11c3 Pass parser state ptr to each parser executor callback. Jeff Garzik 2016-07-28 18:34:21 -04:00
  • ea2ca5f51b Move psql_state into sql-parser.h. Jeff Garzik 2016-07-28 18:14:36 -04:00
  • c9fe196102 Add LICENSE, README. Jeff Garzik 2016-07-28 08:43:36 -04:00
  • 0d452ccef6 Fix build with bison 3.0 + reentrant bison + reentrant flex Jeff Garzik 2016-07-27 23:34:05 -04:00
  • 1cb0591141 sql.y: Add missing semi-colons to statements Jeff Garzik 2016-07-27 22:20:03 -04:00
  • dfe7c6a758 Update lexer/parser header: link to book and software for ease and credit. Jeff Garzik 2009-11-14 04:32:31 -05:00
  • 63371d1513 const-ify yyerror format arg Jeff Garzik 2009-11-09 02:30:52 -05:00
  • 35a5e94310 Convert lexer and parser to be reentrant ("pure lexer" and "pure parser"). Jeff Garzik 2009-11-09 02:06:10 -05:00
  • d5e59cd6db emit() sweep: finish conversion, converting 'strange func call' cases Jeff Garzik 2009-11-08 23:52:47 -05:00
  • ebcaf5895e emit() sweep: convert everything else, except for strange-func-call cases Jeff Garzik 2009-11-08 23:33:06 -05:00
  • dd1900b02b emit() sweep: converting several of the stragglers remaining Jeff Garzik 2009-11-08 23:11:39 -05:00
  • 38ec0eb526 emit() sweep: convert expressions, values, DELETE and SELECT Jeff Garzik 2009-11-08 22:19:53 -05:00
  • 5f11c7e1e0 emit() sweep: convert CREATE TABLE column definition/attribs/constraints Jeff Garzik 2009-11-08 21:16:50 -05:00
  • 8948cfcb31 emit() sweep: basics of CREATE TABLE now converted to API form Jeff Garzik 2009-11-08 19:32:25 -05:00
  • af321368f2 Begin replacing emit() placeholders with API function calls Jeff Garzik 2009-11-08 18:57:33 -05:00
  • 93996b7097 sql.y: support DROP DATABASE, DROP TABLE Jeff Garzik 2009-11-08 18:31:04 -05:00
  • b8dbe27f6c Makefile: create OBJS list, to ease addition of new .c modules Jeff Garzik 2009-11-08 18:26:56 -05:00
  • 62870f4575 Check in SQL lexer and parser from John Levine's _Flex & Bison_ O'Reilly book Jeff Garzik 2009-11-08 17:34:31 -05:00