Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
History for tool/lempar.c
2025-02-27
| ||
21:17 | [bdffd3b233] part of check-in [f50c21484d] Approximately 100 typo corrections spanning the whole tree, submitted via forum post 0db9827f0464bc33 and individually audited and verified. Affects only code comments, innocuous test strings, error message text in tool (not library) code, and configure-level help text. (check-in: [f50c21484d] user: stephan branch: trunk, size: 37163) | |
2025-02-06
| ||
21:14 | [bf92d06432] part of check-in [2ff4129ea0] This is an experimental change to investigate the feasibility of allow DEFAULT tokens within VALUES clauses attached to INSERT statements. There is a lot of extra code space consumed for such an obscure feature. (check-in: [2ff4129ea0] user: drh branch: default-in-values, size: 37221) | |
2024-01-27
| ||
12:47 | [e6b649778e] part of check-in [2db8b30acd] Performance enhancements to the parser template. (check-in: [2db8b30acd] user: drh branch: trunk, size: 37162) | |
02:21 | [c85839df51] part of check-in [f7290db63c] Optimizations to ParseFinalize() to make up for the extra cleanup associated with the allocated parser stack. This branch now runs faster than trunk and is less than 300 bytes larger. (check-in: [f7290db63c] user: drh branch: growable-parser-stack, size: 37209) | |
2024-01-26
| ||
20:57 | [e560057d6e] part of check-in [e91179fe84] Bug fixes in the function that expands the parser stack. (check-in: [e91179fe84] user: drh branch: growable-parser-stack, size: 36663) | |
20:34 | [fa7ab4dd5b] part of check-in [3fd062905f] Experimental changes that prevent parser stack overflows by growing the parser stack with heap memory when it reaches its limit. (check-in: [3fd062905f] user: drh branch: growable-parser-stack, size: 36678) | |
2021-11-09
| ||
01:48 | [57478ea484] part of check-in [ba4fb51853] Fix lempar.c so that Lemon can compile with NDEBUG defined. Forum post f331adca0b (check-in: [ba4fb51853] user: drh branch: trunk, size: 36470) | |
2021-08-27
| ||
11:26 | [7d4b1c863a] part of check-in [106b5e5355] Patch lemon to fix "error" token handling, according ot forum post e680f42f53090061. (check-in: [106b5e5355] user: drh branch: trunk, size: 36470) | |
2021-08-20
| ||
19:51 | [757e4ec699] part of check-in [18cc2f8574] Improvement to error handling in Lemon. No impact on SQLite. Forum post 2f468f43cbc48d7f (check-in: [18cc2f8574] user: drh branch: trunk, size: 36635) | |
2021-08-17
| ||
19:59 | [bbabd74a36] part of check-in [7cca80808c] Fix an off-by-one error in the error-handling logic of the Lemon parser-generator. This does not affect SQLite. Forum cff80737bf. (check-in: [7cca80808c] user: drh branch: trunk, size: 36465) | |
2021-01-02
| ||
23:56 | [1d3d075da1] part of check-in [203c049c66] In Lemon, factor the parser stack overflow detection logic out of the yy_reduce() subroutine and into the main parser routine, so that when overflow is detected, it can exit immediately. This saves a single conditional in the main loop of the parser. (check-in: [203c049c66] user: drh branch: trunk, size: 36465) | |
2020-09-20
| ||
13:33 | [0e1d5eeb97] part of check-in [8bbaee2385] Remove a new assert() that the compiler finds is always true at compile-time, to avoid a compiler warning. (check-in: [8bbaee2385] user: drh branch: trunk, size: 36650) | |
12:10 | [3de9304741] part of check-in [de8ce22a46] Attempt to silence harmless static analyzer warnings in Lemon and in the Lemon-generated parser. (check-in: [de8ce22a46] user: drh branch: trunk, size: 36675) | |
2020-09-16
| ||
16:55 | [70243f1464] part of check-in [6c94ba4b1c] Fix harmless compiler warnings in Lemon. (check-in: [6c94ba4b1c] user: drh branch: trunk, size: 36640) | |
2020-09-01
| ||
11:20 | [dc1f5e8a08] part of check-in [84d54eb357] Lemon updates: (1) include the #defines for all tokens in the generated C file, so that the C-file can be stand-alone. (2) If the grammar begins with a %include {...} directive on line one, make that directive the header for the generated C file. (3) Enhance the lemon.html documentation. (check-in: [84d54eb357] user: drh branch: trunk, size: 36633) | |
2019-12-11
| ||
18:53 | [e8899b2848] part of check-in [4d6d2fc046] Improved tracing output from the LEMON-generated parser. (check-in: [4d6d2fc046] user: drh branch: trunk, size: 36782) | |
2019-10-21
| ||
16:15 | [34b136b281] part of check-in [7f41b44ca2] Try to fix a harmless compiler warning reported by ICC. (check-in: [7f41b44ca2] user: drh branch: trunk, size: 36620) | |
2019-08-28
| ||
11:49 | [eb2841e2a7] part of check-in [e059178b47] Fix an unreachable branch in sqlite3ParserFallback() (check-in: [e059178b47] user: drh branch: lemon-optimization, size: 36620) | |
11:31 | [5d1b20f2e9] part of check-in [47d3e091ae] Further improvements to parser speed by enlarging lookup tables to eliminate the need to do range checking on the index prior to lookup. (check-in: [47d3e091ae] user: drh branch: lemon-optimization, size: 36622) | |
02:09 | [be669a4141] part of check-in [bafd872398] Increase the size of the yy_lookahead table so that it is never necessary to down bounds checking on the index. (check-in: [bafd872398] user: drh branch: lemon-optimization, size: 36757) | |
2019-07-16
| ||
19:44 | [4b868d0a5e] part of check-in [9e66458592] Add new assert() statements in an attempt to help static analyzers avoid false-positives. (check-in: [9e66458592] user: drh branch: trunk, size: 36713) | |
2018-12-03
| ||
23:57 | [61af95b8fa] part of check-in [70fe8ec2ae] Reduce the size of the parser tables generated by Lemon by splitting the yyRuleInfo structure into separate yyRuleInfoLhs and yyRuleInfoNRhs arrays. (check-in: [70fe8ec2ae] user: drh branch: trunk, size: 36647) | |
2018-11-27
| ||
14:34 | [452f12d402] part of check-in [9c9c46dcbe] Add a simple test case for Lemon. Always include assert.h in the Lemon-generated parser. (check-in: [9c9c46dcbe] user: drh branch: trunk, size: 36623) | |
14:03 | [7af7e9fffb] part of check-in [c6dfc59eb1] Fix to the error handling logic in the Lemon parser template. This does not affect SQLite since SQLite does not use that part of the Lemon parser template. (check-in: [c6dfc59eb1] user: drh branch: trunk, size: 36603) | |
2018-07-22
| ||
21:23 | [6020ce61dd] part of check-in [edab5666f8] Fix more harmless compiler warnings seen with MSVC. (check-in: [edab5666f8] user: mistachkin branch: trunk, size: 36636) | |
2018-07-09
| ||
22:49 | [428a050780] part of check-in [5023b1b85b] Fixes for various harmless compiler warnings. (check-in: [5023b1b85b] user: drh branch: trunk, size: 36603) | |
2018-07-01
| ||
16:05 | [a6ebc2024f] part of check-in [3f6730be4c] Quick patch to the Lemon parser template to avoid an array overread reported by OSSFuzz. A proper fix involves enhancements to the table generators in Lemon to make the overread impossible. That fix will take longer to implement. The current check-in is a stop-gap. (check-in: [3f6730be4c] user: drh branch: trunk, size: 36567) | |
2018-06-30
| ||
19:12 | [6f64bc8116] part of check-in [aad718fb1a] Merge all changes from the weak-fallback branch except those related to the weak-fallback feature itself. (check-in: [aad718fb1a] user: dan branch: exp-window-functions, size: 36507) | |
2018-06-29
| ||
17:44 | [afc03d26f3] part of check-in [022079cb0d] Instead of using a lemon %fallback directive, have the tokenizer try to figure out whether an instance of "WINDOW" should be TK_WINDOW or TK_ID. (check-in: [022079cb0d] user: dan branch: weak-fallback, size: 36803) | |
2018-06-28
| ||
03:38 | [c7371bad02] part of check-in [c41d7079fb] Introduce the concept of "weak fallback" in the parser. A weak fallback only occurs if a syntax error would result otherwise. (check-in: [c41d7079fb] user: drh branch: weak-fallback, size: 36528) | |
2018-04-23
| ||
00:25 | [bf7db78e72] part of check-in [e3064ba3b6] Fix an unreachable branch associated with stack overflow in the LEMON-generated parser. (check-in: [e3064ba3b6] user: drh branch: trunk, size: 36162) | |
2018-04-21
| ||
22:40 | [01f28a4d24] part of check-in [fec1ebadeb] Performance improvements on the main loop of the LEMON-generated parser. (check-in: [fec1ebadeb] user: drh branch: trunk, size: 36156) | |
13:51 | [8ce83cbec6] part of check-in [be47a6f526] Add the %extra_context directive to lemon, as an alternative to %extra_argument. Use this to improve the performance of the parser. (check-in: [be47a6f526] user: drh branch: trunk, size: 35736) | |
2018-02-09
| ||
15:04 | [468a155e87] part of check-in [a6c3115483] Fix a harmless compiler warning. (check-in: [a6c3115483] user: drh branch: trunk, size: 35159) | |
2018-01-17
| ||
13:15 | [da840fc8a6] part of check-in [bfbeffab77] Fix harmless compiler warnings, mostly unused parameters for UDFs in the CLI. (check-in: [bfbeffab77] user: drh branch: trunk, size: 35142) | |
2017-12-27
| ||
17:36 | [dddd4f592b] part of check-in [ec9b19eb65] The previous check-in had an error in the coverage reporting logic. (check-in: [ec9b19eb65] user: drh branch: lemon-improvements, size: 35095) | |
17:14 | [1b1279a362] part of check-in [9dce465087] Change the coverage measurement logic in the lemon-generated parser so that it only checks for coverage of state/lookahead pairs that are valid syntax. It turns out that some states are unreachable if the lookahead is not valid syntax, because the states are only reachable through a shift following a reduce, and the reduce does not happen if the lookahead is a syntax error. (check-in: [9dce465087] user: drh branch: lemon-improvements, size: 35084) | |
16:13 | [48ca9d9f28] part of check-in [3fe964873d] In the lemon-generated parser, do not report the End-of-input character and the wildcard character as missed coverage. (check-in: [3fe964873d] user: drh branch: lemon-improvements, size: 34823) | |
2017-12-26
| ||
18:32 | [64e760f7cc] part of check-in [86e30fc284] Change the lemon-parser coverage report format to report all state/lookahead pairs and indicate on each whether it is hit or missed. (check-in: [86e30fc284] user: drh branch: lemon-improvements, size: 34787) | |
18:04 | [2a688bf343] part of check-in [1253a872db] Add support for measuring and reporting coverage of the parser state machine using the SQLITE_TESTCTRL_PARSER_COVERAGE test-control. (check-in: [1253a872db] user: drh branch: lemon-improvements, size: 34735) | |
2017-12-25
| ||
04:15 | [427ee280f3] part of check-in [7eb0198d01] Enhance LEMON so that it generates the action table in such a way that no range check is needed on the lookahead table to verify that the next input token is valid. This makes the lookahead table slightly larger (about 120 bytes) but helps the parser to run faster. (check-in: [7eb0198d01] user: drh branch: lemon-improvements, size: 33701) | |
00:10 | [8062f219b4] part of check-in [fdbb35c54f] In the LEMON-generated parser, avoid unnecessary tests for the acceptance state. (check-in: [fdbb35c54f] user: drh branch: lemon-improvements, size: 34075) | |
2017-12-24
| ||
23:38 | [c8dd4dcf0b] part of check-in [7bfe7a3602] In the LEMON-generated parser, rearrange the meanings of integer action codes so that reduce actions occur last. This means that the most common case (reduce actions) can be recognized with a single comparison operation, thus speeding up the main parser loop, slightly. (check-in: [7bfe7a3602] user: drh branch: lemon-improvements, size: 34082) | |
14:14 | [a427c2375d] part of check-in [c4951833c2] Improved parser tracing output. (check-in: [c4951833c2] user: drh branch: span-refactor, size: 34082) | |
2017-12-15
| ||
12:22 | [967ebf585c] part of check-in [42af190f4f] In the LEMON parser generator, provide reduce actions with access to the lookahead token. (check-in: [42af190f4f] user: drh branch: trunk, size: 33531) | |
2017-10-02
| ||
02:32 | [105d0d9cbe] part of check-in [8000d23017] Improvements to a comment in lempar.c. No code changes. (check-in: [8000d23017] user: drh branch: trunk, size: 33004) | |
2017-07-04
| ||
12:50 | [10579a61dc] part of check-in [268a40f44c] Fix a problem in the lempar.c Lemon template for YYSTACKDEPTH<=0 introduced by check-in [36e54cd8b1fb37] (check-in: [268a40f44c] user: drh branch: trunk, size: 32946) | |
2017-06-28
| ||
15:01 | [f0dc07c283] part of check-in [36e54cd8b1] Faster parser stack overflow detection. (check-in: [36e54cd8b1] user: drh branch: trunk, size: 32920) | |
13:47 | [1653b07079] part of check-in [b362f0d8ed] In the lemon-generated parser, store the number of symbols on the RHS of each rule as a negative number and add it to the stack pointer, rather than storing the value as a positive and subtracting it. This makes the parser faster. (check-in: [b362f0d8ed] user: drh branch: trunk, size: 32819) | |
11:56 | [12d9fc3b7f] part of check-in [c46d94a8cd] In the lemon-generated parser, automatically promote SHIFTREDUCE actions on nonterminal systems to pure REDUCE actions, for a performance enhancement. (check-in: [c46d94a8cd] user: drh branch: trunk, size: 32821) | |
2017-01-28
| ||
20:46 | [db1bdb4821] part of check-in [4fe879d4b5] In the amalgamation, allocate the parser engine object from stack rather than from heap, for improved performance. This only happens in the amalgamation, since otherwise the sqlite3RunParser() routine does not know the object size. (check-in: [4fe879d4b5] user: drh branch: trunk, size: 32649) | |
2016-12-06
| ||
17:59 | [320d630b44] part of check-in [e8247065cf] In the LEMON parser-generator, fix the stack overflow processing so that it correct invokes the destructor on the top-level of the parse stack. (check-in: [e8247065cf] user: drh branch: trunk, size: 32271) | |
2016-10-04
| ||
12:20 | [7cf047778e] part of check-in [3a9d802fda] Fix a problem with the lempar.c parser template. (check-in: [3a9d802fda] user: drh branch: trunk, size: 32244) | |
2016-08-10
| ||
13:30 | [147e42a5cd] part of check-in [83622f3f50] Improved comments on the lempar.c parser template. Adjust the YY_SHIFT_USE_DFLT constant in the Lemon-generated parser tables so as to guarantee that it is always out of range of the yy_lookahead[] table. (check-in: [83622f3f50] user: drh branch: trunk, size: 32245) | |
01:43 | [321ebbf1c8] part of check-in [ba6663beef] Performance optimization in the yy_find_shift_action() routine of the Lemon-generated parser. (check-in: [ba6663beef] user: drh branch: trunk, size: 32038) | |
2016-07-12
| ||
19:54 | [57ffa98529] part of check-in [3ef93950d3] Fix the error counter reset in Lemon generated parsers. This has no effect on SQLite. (check-in: [3ef93950d3] user: drh branch: trunk, size: 32167) | |
2016-07-08
| ||
19:54 | [77c685a612] part of check-in [e1d8ef311c] Another attempt to fix error handling in Lemon. This change is a no-op for SQLite's usage. (check-in: [e1d8ef311c] user: drh branch: trunk, size: 32171) | |
2016-07-05
| ||
16:11 | [072ff9985f] part of check-in [2683b375ad] More fixes to Lemon so that it automatically resets its error counter at the end of a parse. (check-in: [2683b375ad] user: drh branch: trunk, size: 32104) | |
12:47 | [f2c88a13ab] part of check-in [91889fa30e] Attempt to reset the error count in the Lemon-generated parser after a parse failure. (check-in: [91889fa30e] user: drh branch: trunk, size: 32039) | |
2016-06-06
| ||
18:17 | [8c4e9d8517] part of check-in [3665a2f554] Fix lempar.c so that the shift-reduce optimization works for error processing. This is a Lemon issue only and has no impact on SQLite. (check-in: [3665a2f554] user: drh branch: trunk, size: 31971) | |
13:24 | [66a16b5e00] part of check-in [45531654f7] Initialize the yyerrcnt variable in the lemon parser template. This has no effect on SQLite itself. (check-in: [45531654f7] user: drh branch: trunk, size: 31973) | |
2016-05-27
| ||
04:10 | [f06b7e98a6] part of check-in [a9be4c2d56] Fix Lemon so that it actually works with -DYYSTACKDEPTH=0. (check-in: [a9be4c2d56] user: drh branch: trunk, size: 31912) | |
01:07 | [7689ddc408] part of check-in [28d439f816] Fix the Lemon-generated parser so that it compiles with -DYYSTACKDEPTH=0. It does compile now, but there are subtle issues still. (check-in: [28d439f816] user: drh branch: trunk, size: 31613) | |
2016-05-24
| ||
18:55 | [1f69ad7531] part of check-in [41fd46e296] Enhance Lemon and the parser template so that it can once again build parsers that have no unreachable branches. (check-in: [41fd46e296] user: drh branch: trunk, size: 31613) | |
00:40 | [8569dd3e4c] part of check-in [3b28b68e23] Improvements to the initialization of the push-down automoton for the Lemon-generated parser. Smaller and faster. (check-in: [3b28b68e23] user: drh branch: trunk, size: 31642) | |
2016-05-23
| ||
21:56 | [872383ebf3] part of check-in [3c2a770549] Use a pointer to the top of the stack rather than an index into the stack in the Lemon-generated parser template, for about 6.6% parser performance gain. (check-in: [3c2a770549] user: drh branch: trunk, size: 31928) | |
2016-03-16
| ||
19:45 | [404ea3dc27] part of check-in [d5712f21ec] Enhance Lemon so that it reorders the reduce rules such that rules without actions occur at the end and so that the first rule is number 0. This reduces the size of the jump table on the reduce switch, and helps the parser to run faster. (check-in: [d5712f21ec] user: drh branch: trunk, size: 31547) | |
2016-02-19
| ||
13:19 | [d5114c7d13] part of check-in [60ad68a9f5] Omit the unused yyzerominor constant. (check-in: [60ad68a9f5] user: drh branch: trunk, size: 31577) | |
2016-02-17
| ||
12:34 | [5f626c741e] part of check-in [417e777701] More agressive use of /*A-overwrites-X*/ in the parser. Fix an off-by-one error in parser stack overflow detection. (check-in: [417e777701] user: drh branch: parser-performance, size: 31722) | |
01:46 | [c7dde8fae5] part of check-in [ef95a7d649] Further improvements to the Lemon-generated code for yy_reduce(). (check-in: [ef95a7d649] user: drh branch: parser-performance, size: 31716) | |
01:18 | [08bbb0fbca] part of check-in [4bb94c7c4c] In Lemon, add the ability for the left-most RHS label to be the same as the LHS label, causing the LHS values to be written directly into the stack. (check-in: [4bb94c7c4c] user: drh branch: parser-performance, size: 31752) | |
2016-02-16
| ||
21:19 | [5478c52987] part of check-in [a65d583ce9] Experimental changes to Lemon for improved parser performance. (check-in: [a65d583ce9] user: drh branch: parser-performance, size: 31852) | |
01:01 | [ff7763747f] part of check-in [9235b0cf6a] Improve the Lemon parser template (lempar.c) so that it avoids unnecessary work when the grammer defines YYNOERRORRECOVERY (as SQLite does). Slightly smaller and faster code results. (check-in: [9235b0cf6a] user: drh branch: trunk, size: 31718) | |
2015-11-10
| ||
14:51 | [3ec1463a03] part of check-in [e43e1171fd] Improved output formatting for "PRAGMA parser_trace=ON;". (check-in: [e43e1171fd] user: drh branch: trunk, size: 31619) | |
2015-11-09
| ||
19:35 | [02cd882bd3] part of check-in [c4a7e93fca] Fix a comment typo in the lempar.c template that was missed by the prior check-in. (check-in: [c4a7e93fca] user: drh branch: parser-enhancements, size: 31320) | |
19:33 | [586bd85c58] part of check-in [0a72991f4e] Change the parser to use the standard "lempar.c" template over in the tool/ folder rather than the customized "lempar.c" found in src/. (check-in: [0a72991f4e] user: drh branch: parser-enhancements, size: 31320) | |
15:06 | [4ff2afb044] part of check-in [0557a179f9] Avoid recursion in the yy_find_shift_action() routine of the Lemon-generated parser, so that routine can be inlined, for a size reduction and performance increase. (check-in: [0557a179f9] user: drh branch: trunk, size: 29290) | |
14:11 | [5ea7cad700] part of check-in [9748c48a4f] Size reduction and performance improvement in the stack-popping logic of the Lemon-generated parser. (check-in: [9748c48a4f] user: drh branch: trunk, size: 28900) | |
2015-09-07
| ||
20:02 | [3617143ddb] part of check-in [e9d604b430] Fix an unreachable branch in the new parse automaton. (check-in: [e9d604b430] user: drh branch: lemon-update, size: 29054) | |
19:52 | [9bec5f8567] part of check-in [2c17a13583] Change the parser engine so that it (once again) waits for a lookahead token before reducing, even in a SHIFTREDUCE action. (check-in: [2c17a13583] user: drh branch: lemon-update, size: 29050) | |
18:23 | [1522366692] part of check-in [531c3974b3] For the Lemon-generated parser, add a new action type SHIFTREDUCE and use it to further compress the parser tables and improve parser performance. (check-in: [531c3974b3] user: drh branch: lemon-update, size: 28830) | |
2009-11-03
| ||
19:18 | [01ca97f876] part of check-in [27d8e684db] Enhancements to lemon to generate more compact action tables and to avoid making array bounds tests that can never fail on action table calculations. (check-in: [27d8e684db] user: drh branch: trunk, size: 27773) | |
2009-06-12
| ||
13:53 | [2ed70b3fc8] part of check-in [fe9c917734] The lemon parser generator now inserts yytestcase() macros on reduce action and on each destructor, to verify that all have been executed. yytestcase() is a no-op by default but can be set to something more useful inside of %include. (CVS 6755) (check-in: [fe9c917734] user: drh branch: trunk, size: 27691) | |
02:27 | [d2fbe360eb] part of check-in [457e0b245b] Modifications to the parser to eliminate unreachable code. (CVS 6749) (check-in: [457e0b245b] user: drh branch: trunk, size: 27313) | |
2009-01-30
| ||
05:40 | [aeba88b856] part of check-in [c74c78e4eb] Minor changes to remove a few MSVC compiler warnings at /W3. Ticket #3610. (CVS 6215) (check-in: [c74c78e4eb] user: shane branch: trunk, size: 26681) | |
2008-12-11
| ||
02:20 | [c9151d2a4a] part of check-in [76c8f6ba87] Initialize the yyzerominor constant generated by lemon. (CVS 6016) (check-in: [76c8f6ba87] user: drh branch: trunk, size: 26655) | |
2008-12-10
| ||
23:04 | [8b91df351e] part of check-in [0a1888a7e6] More code obfuscation designed to thwart compiler warning messages. (CVS 6015) (check-in: [0a1888a7e6] user: drh branch: trunk, size: 26697) | |
18:03 | [fece0da829] part of check-in [14e6d19c31] More explicit type casting to silence VC++. (CVS 6006) (check-in: [14e6d19c31] user: drh branch: trunk, size: 26686) | |
2008-11-18
| ||
23:25 | [9ef6809804] part of check-in [00ccc5967f] Fix to the lemon parser template when YYSTACKSIZE is 0 (dynamically allocated stack space). (CVS 5919) (check-in: [00ccc5967f] user: drh branch: trunk, size: 26617) | |
2008-08-20
| ||
17:48 | [770dc64b74] part of check-in [71992f4a37] Modify the lemon parser template to avoid using zero-initialized constants when compiled with C++. Ticket #3288. (CVS 5571) (check-in: [71992f4a37] user: drh branch: trunk, size: 26562) | |
2008-07-28
| ||
19:34 | [4d115ee7c0] part of check-in [e48f9697e9] Implement the "lookaside" memory allocation cache. Use of this cache makes the speed1.test script run about 15% faster. Added new interfaces to control the cache. (CVS 5488) (check-in: [e48f9697e9] user: drh branch: trunk, size: 26498) | |
2008-07-25
| ||
15:39 | [49e9b3b9b4] part of check-in [ef0250f3dc] Add the capability to track the maximum depth of the LALR(1) parser stack so that critical applications can check to see if they are getting close to limits. (CVS 5481) (check-in: [ef0250f3dc] user: drh branch: trunk, size: 26315) | |
2008-07-24
| ||
23:34 | [82ad5e30f2] part of check-in [599a9dea8f] Reduce the size of the parser allocation. Add additional instrumentation to mem2. speed1*.test uses scratch malloc. (CVS 5472) (check-in: [599a9dea8f] user: drh branch: trunk, size: 25839) | |
2008-07-14
| ||
12:27 | [1a2caec816] part of check-in [3721476995] Fix additional typos in comments within lemon. Ticket #3215. (CVS 5405) (check-in: [3721476995] user: drh branch: trunk, size: 25819) | |
2008-04-27
| ||
18:45 | [aab54f1758] part of check-in [20ed749266] Fix the lemon parser generator so that it works again with the "error" symbol. Ticket #3079 (CVS 5052) (check-in: [20ed749266] user: drh branch: trunk, size: 25812) | |
2008-04-11
| ||
14:56 | [5ebb066cdb] part of check-in [2589955507] Speed improvements by removing unnecessary memset() operations. Also: do not resize the opcode array of a virtual machine to its minimum size after code generation completes. The extra resize merely uses time. (CVS 4987) (check-in: [2589955507] user: drh branch: trunk, size: 25578) | |
2008-01-23
| ||
12:52 | [ac41fdc423] part of check-in [9f95d79dae] Improvements to test coverage in the lemon-generated parser and in the sqlite3_get_table() interface. (CVS 4745) (check-in: [9f95d79dae] user: drh branch: trunk, size: 25370) | |
2008-01-22
| ||
23:37 | [2dafd3da7f] part of check-in [c82033faf8] Improved test coverage for the tokenizer and sqlite3_complete() interface. Fix bugs in parsing blob literals and SQL variables beginning with $. (CVS 4743) (check-in: [c82033faf8] user: drh branch: trunk, size: 25543) | |
14:50 | [feab108e39] part of check-in [83ca4fc7dc] Remove dead code from the lemon-generated parser. Better testing of the sqlite3_file_control() interface, and in particular make sure the interface works on :memory: databases. (CVS 4738) (check-in: [83ca4fc7dc] user: drh branch: trunk, size: 25534) | |
01:48 | [71f92c138d] part of check-in [2a0bc1e186] Changes to lemon to generate additional comments in the output file and to remove unreachable code. Additional test cases for improved test coverage. (CVS 4736) (check-in: [2a0bc1e186] user: drh branch: trunk, size: 25557) | |
2007-04-06
| ||
18:23 | [8f998bf8d0] part of check-in [26b2e1aede] Additional coverage testing. (CVS 3823) (check-in: [26b2e1aede] user: drh branch: trunk, size: 25555) | |
2007-03-30
| ||
13:35 | [2085155353] part of check-in [70c8c7e2ce] Make yypMinor available to the stack overflow callbacks in lemon generated parsers. This does not effect SQLite. (CVS 3761) (check-in: [70c8c7e2ce] user: drh branch: trunk, size: 25873) | |
2007-03-29
| ||
02:26 | [707cc8d608] part of check-in [e72c81dbb3] Get LEMON working again when YYSTACKDEPTH is greater than zero. (CVS 3739) (check-in: [e72c81dbb3] user: drh branch: trunk, size: 25761) | |
01:44 | [1c08d864e1] part of check-in [06719b741a] Lemon change: compile the resulting parser with -DYYSTACKDEPTH=0 or set the "%stack_size" parameter to 0 in the grammar and the parser stack will be dynamically allocated using realloc() and free(). The default behavior is to have a finite depth stack. (CVS 3738) (check-in: [06719b741a] user: drh branch: trunk, size: 25734) | |
2007-01-16
| ||
18:19 | [fdc1672e97] part of check-in [d537aa5ede] Additional memory initialization in lemon - bug reported from wireshark. Ticket #2172. Note this problem only comes up with certain grammars, and does not impact SQLite. On the other hand, it might cause SQLite to run slower. So we might want to revisit this change at some point. (CVS 3594) (check-in: [d537aa5ede] user: drh branch: trunk, size: 24561) | |
2006-06-14
| ||
15:03 | [0a2a5cf96a] part of check-in [a0a3b34db8] Fix a C++-ism in lempar.c. Ticket #1848. (CVS 3244) (check-in: [a0a3b34db8] user: drh branch: trunk, size: 24213) | |
2006-06-13
| ||
11:15 | [bd4efbd36f] part of check-in [dae71de10d] Minor changes to lempar.c to reduce warnings on some compilers. (CVS 3224) (check-in: [dae71de10d] user: drh branch: trunk, size: 24167) | |
2006-06-10
| ||
13:29 | [880cc102ba] part of check-in [66370cb99b] Basic parsing of CREATE VIRTUAL TABLE statements. (CVS 3210) (check-in: [66370cb99b] user: drh branch: trunk, size: 24155) | |
2006-05-08
| ||
15:14 | [5112eda4ad] part of check-in [864cac9603] Fix error processing in Lemon. SQLite does not use this feature of lemon so it is uneffected. (CVS 3181) (check-in: [864cac9603] user: drh branch: trunk, size: 23725) | |
2005-11-05
| ||
15:04 | [424df14a48] part of check-in [86ac114769] Improved table compression in lemon reduces the overall library size by about 1.5KiB. (CVS 2761) (check-in: [86ac114769] user: drh branch: trunk, size: 23639) | |
2005-05-11
| ||
14:28 | [f0c30abcae] part of check-in [6fda60083f] Change to the lemon parser suggested by Geert Janssen. Appears to have no impact on SQLite. (CVS 2458) (check-in: [6fda60083f] user: drh branch: trunk, size: 23643) | |
2005-02-06
| ||
02:45 | [e8b0eb00a6] part of check-in [2155448d21] Add the (highly experimental) omit_readlock pragma that disables the use of readlocks on read-only databases that are connected using ATTACH. (CVS 2317) (check-in: [2155448d21] user: drh branch: trunk, size: 23604) | |
2005-02-01
| ||
04:09 | [9bf2f402ab] part of check-in [a3d12726bb] More performance tweaking in the parser. (CVS 2302) (check-in: [a3d12726bb] user: drh branch: trunk, size: 23055) | |
03:20 | [38b1f1fcb8] part of check-in [adcd9a3fa2] Lemon optimization: When doing a shift following a reduce that pops one or more elements off the stack, no need to check for stack overflow. (CVS 2300) (check-in: [adcd9a3fa2] user: drh branch: trunk, size: 23026) | |
2004-10-06
| ||
15:41 | [1e61d2b6cb] part of check-in [d790c84c5a] Convert many constants to have type "const". (CVS 2006) (check-in: [d790c84c5a] user: drh branch: trunk, size: 22548) | |
2003-12-22
| ||
14:53 | [0b5e7a5863] part of check-in [06db29df8f] Optimizations to the LEMON parser template. (CVS 1143) (check-in: [06db29df8f] user: drh branch: trunk, size: 22530) | |
2003-10-22
| ||
22:15 | [686d85ff4b] part of check-in [c637caf13f] Comment changes to the lemon parser template. Change some sqliteMalloc() calls to sqliteMallocRaw() for speed. Update the website template. (CVS 1114) (check-in: [c637caf13f] user: drh branch: trunk, size: 22609) | |
2003-10-21
| ||
16:34 | [043b18f4e8] part of check-in [c0d1b26966] Fix bugs in lemon associated with the change to a perfect hash table. (CVS 1113) (check-in: [c0d1b26966] user: drh branch: trunk, size: 22340) | |
13:16 | [a340686863] part of check-in [4f955c0007] Convert lemon to use a single perfect hash table for storing the actions. This should make the resulting parser both smaller and faster. (CVS 1112) (check-in: [4f955c0007] user: drh branch: trunk, size: 22339) | |
2002-06-06
| ||
18:54 | [73a991cc30] part of check-in [7ac5bd293c] Added the %fallback directive to the lemon parser generator and used this in the parser to make the parse tables much smaller. This reduced the size of the library by 15K. (CVS 605) (check-in: [7ac5bd293c] user: drh branch: trunk, size: 21803) | |
2002-03-11
| ||
13:55 | [ee508b9460] part of check-in [ffc387a48a] Change the way that lemon handles %extra_argument. (CVS 427) (check-in: [ffc387a48a] user: drh branch: trunk, size: 20384) | |
2002-03-10
| ||
21:21 | [5c7d2b78bf] part of check-in [02cc2d60b2] Bug fix: updates within a transaction would fail if there was existed a temporary table. (CVS 425) (check-in: [02cc2d60b2] user: drh branch: trunk, size: 19924) | |
2002-02-23
| ||
19:39 | [2ff255186f] part of check-in [67a135a051] Modify lemon to use much less memory for its parser tables. This reduces the size of the library by 50K, which is important for an embedded library. (CVS 389) (check-in: [67a135a051] user: drh branch: trunk, size: 19918) | |
2001-09-16
| ||
00:13 | [9b604e6a8b] part of check-in [4e926efe2b] Disclaimed copyright. Preparing for release 2.0. (CVS 250) (check-in: [4e926efe2b] user: drh branch: trunk, size: 19870) | |
2001-09-14
| ||
16:42 | [276d8ab73e] part of check-in [7da856cd94] Bug fixes and speed improvements. Delete is still slow. (CVS 244) (check-in: [7da856cd94] user: drh branch: trunk, size: 20671) | |
2001-04-03
| ||
16:53 | [943b476d44] part of check-in [1f0197d504] Bug fixes from Oleg Oleinick (CVS 195) (check-in: [1f0197d504] user: drh branch: trunk, size: 20629) | |
2000-05-29
| ||
14:26 | Added: [a1eec94d6e] part of check-in [6f3655f79f] initial check-in of the new version (CVS 1) (check-in: [6f3655f79f] user: drh branch: trunk, size: 20681) | |