Commit graph

15 commits

Author SHA1 Message Date
Nickolay Ponomarev
327e6cd9f1 Report an error for unterminated string literals
...updated the TODOs regarding single-quoted literals parsing while at it.
2020-05-10 21:21:01 +03:00
Alex Kyllo
172ba42001 Add support for MSSQL's SELECT TOP N syntax (#150)
Add support for MSSQL SELECT TOP (N) [PERCENT] [WITH TIES] syntax.
2020-01-12 23:20:48 -05:00
Nikhil Benesch
070d0192bf
Add missing license header 2019-08-13 15:04:42 -04:00
Bernardo
b2b159fed1 implement fmt::Display instead of ToString 2019-06-30 17:32:51 +02:00
Nikhil Benesch
ac555d7e86
Remove "SQL" prefix from types
The rationale here is the same as the last commit: since this crate
exclusively parses SQL, there's no need to restate that in every type
name. (The prefix seems to be an artifact of this crate's history as a
submodule of Datafusion, where it was useful to explicitly call out
which types were related to SQL parsing.)

This commit has the additional benefit of making all type names
consistent; over type we'd added some types which were not prefixed with
"SQL".
2019-06-25 13:11:11 -04:00
Nikhil Benesch
cf655ad1a6
Remove "sql" prefix from module names
Since this crate only deals with SQL parsing, the modules are understood
to refer to SQL and don't need to restate that explicitly.
2019-06-24 12:56:26 -04:00
Andy Grove
0c23392adb replace with code from datafusion 2018-09-03 09:56:39 -06:00
Andy Grove
a86bd30515 Refactoring 2018-09-03 09:13:43 -06:00
Andy Grove
2e20b15c2e Refactoring 2018-09-02 19:08:44 -06:00
Andy Grove
69a140a820 create Chars struct instead of using Peekable 2018-09-02 18:59:30 -06:00
Andy Grove
7ff4133327 Refactoring 2018-09-01 12:59:18 -06:00
Andy Grove
72cff632c1 Roughing out pratt parser logic 2018-09-01 08:39:27 -06:00
Andy Grove
e6e9c8d2cc Refactoring use of generics, added peek_token 2018-09-01 08:11:26 -06:00
Andy Grove
f56846098e simple example of custom tokenizer 2018-02-09 06:53:49 -07:00
Andy Grove
fcf6b1150e save 2018-02-09 05:58:14 -07:00