Jake Wheat
|
a3d1ba7e5c
|
attempt to improve some parse errors, change some imports to be explicit
|
2024-01-11 14:01:04 +00:00 |
|
Jake Wheat
|
d2f4ebcb46
|
remote now unused combinators file
|
2024-01-11 13:51:48 +00:00 |
|
Jake Wheat
|
382555b060
|
trivial tweaks
|
2024-01-10 17:05:56 +00:00 |
|
Jake Wheat
|
301ee009d0
|
fix pretty printer formatting
|
2024-01-10 16:10:00 +00:00 |
|
Jake Wheat
|
2fd285e670
|
tidying pass: update changelog, get example compiling, pass on haddock, rename MyStream to SQLStream, tweak cabal file
|
2024-01-10 12:29:21 +00:00 |
|
Jake Wheat
|
de121d1fd6
|
move the megaparsec stream stuff to the lexer, restore the old lex return without source positions, add a new lex function that does return source positions
|
2024-01-10 11:57:13 +00:00 |
|
Jake Wheat
|
e76aa2818b
|
all tests passing, switch to megaparsec provisionally complete
|
2024-01-10 11:41:38 +00:00 |
|
Jake Wheat
|
4e09fe9f45
|
get old lexing code working again, now only 3 tests fail
|
2024-01-10 11:28:34 +00:00 |
|
Jake Wheat
|
0f307f51c7
|
fix handling of lex errors
|
2024-01-10 09:44:12 +00:00 |
|
Jake Wheat
|
55a7537108
|
clean up some warnings, remove parsec dep, fix a temp commented out test
|
2024-01-10 09:34:17 +00:00 |
|
Jake Wheat
|
af8ea544f6
|
fix the permutation parsers
|
2024-01-10 09:27:13 +00:00 |
|
Jake Wheat
|
8cc475240b
|
fix the scalar expression operator parsing, use expression operator parsing for set operations too
|
2024-01-10 09:18:07 +00:00 |
|
Jake Wheat
|
7a5ad6c206
|
add reader to parse stack for dialect
|
2024-01-10 08:18:57 +00:00 |
|
Jake Wheat
|
ab687318fb
|
checkpoint during parser conversion to megaparsec
|
2024-01-10 07:40:24 +00:00 |
|
Jake Wheat
|
9396aa8cba
|
switch in megaparsec with stub lexing code
|
2024-01-09 17:53:12 +00:00 |
|
Jake Wheat
|
d80796b1dd
|
reorder the lex file in prep
|
2024-01-09 17:47:04 +00:00 |
|
Jake Wheat
|
4a3455b67c
|
switch from pretty to prettyprinter
|
2024-01-09 00:14:48 +00:00 |
|
Jake Wheat
|
ec8ce0243e
|
switch from literate to regular haskell source
|
2024-01-09 00:07:47 +00:00 |
|
Matei Adriel
|
f180d1070b
|
Add non-comma separated constraint dialect toggle
|
2024-01-09 00:25:51 +01:00 |
|
Matei Adriel
|
51157d502e
|
Parse constraints not separated by comma
|
2024-01-09 00:18:24 +01:00 |
|
Matei Adriel
|
d53afd905e
|
Add autoincrement option to dialect
|
2024-01-08 22:14:19 +01:00 |
|
Matei Adriel
|
c997e3196c
|
Support autoincrement columns
|
2024-01-08 22:14:19 +01:00 |
|
Bartosz Wójcik
|
80e79ced2e
|
Small editorial
|
2021-12-02 17:04:01 +01:00 |
|
Bartosz Wójcik
|
61275461b5
|
Added tests for new added sqlserver dialect syntax.
|
2021-12-02 16:50:35 +01:00 |
|
Bartosz Wójcik
|
efd4dea6ff
|
minor enhancements for sqlserver dialect
|
2021-12-01 21:33:02 +01:00 |
|
Jake
|
05481371dd
|
add schema support for create index referenced table, and add some tests
|
2021-10-19 16:32:25 +01:00 |
|
Jake
|
f019c2d1ed
|
Merge branch 'greyson-simple-sql-parser'
|
2021-10-19 16:16:34 +01:00 |
|
Ignat Insarov
|
0aa28ff96a
|
Fix handling of empty statements.
|
2020-12-20 20:26:34 +05:00 |
|
Greyson Fischer
|
54cefdc2ee
|
Added basic CREATE INDEX parsing
|
2020-04-08 01:14:56 -04:00 |
|
Greyson Fischer
|
bfa1b40b21
|
Added (normally defaulted) NULL column constraint
|
2020-04-07 14:25:10 -04:00 |
|
Jake Wheat
|
ac66ede538
|
add source to haddock, few doc notes, tweak website build
|
2019-09-21 09:18:27 +01:00 |
|
Jake Wheat
|
9df04a3040
|
fix some imports and exports, particularly stop reexporting all the dialect stuff everywhere
|
2019-09-01 11:52:17 +01:00 |
|
Jake Wheat
|
f58e19f33b
|
work on docs in dialect module, remove unnecessary export of ansi2011ReservedKeywords
|
2019-09-01 11:32:48 +01:00 |
|
Jake Wheat
|
7f1351c123
|
tweak haddock, remove CPP (only causes a warning with ghc 8.2.1), other small tweaks
|
2019-09-01 10:04:04 +01:00 |
|
Jake Wheat
|
df8a8e8df3
|
move special type names to the dialect
|
2019-09-01 09:45:26 +01:00 |
|
Jake Wheat
|
86f5e203af
|
add iden keywords and app keywords to the dialect
|
2019-09-01 09:34:10 +01:00 |
|
Jake Wheat
|
9f2ff37c54
|
fix regression in extract function parsing, some small tweaks
|
2019-08-31 18:12:35 +01:00 |
|
Jake Wheat
|
ca910b8e6d
|
tweaks to the keyword list and handling
|
2019-08-31 16:15:17 +01:00 |
|
Jake Wheat
|
4c8f612f56
|
fix some warnings, small tweaks to the build
|
2019-08-31 13:41:07 +01:00 |
|
Jake Wheat
|
020b33e729
|
improve the dialect handling to be more feature based
|
2019-08-31 13:40:23 +01:00 |
|
Jake Wheat
|
ee432d79ba
|
update handling of fetch first and limit wrt dialects
|
2019-08-31 12:38:24 +01:00 |
|
Jake Wheat
|
eb45eb8705
|
start refactoring the dialect support, and work on the keyword handling
|
2019-08-31 11:57:28 +01:00 |
|
Jake Wheat
|
3707a09cb8
|
allow current_timestamp to be parsed, bump version
|
2019-08-31 10:08:02 +01:00 |
|
Jake Wheat
|
9f4a457a4d
|
fix extra 'as' when printing ctes
|
2019-08-31 09:30:42 +01:00 |
|
Jake Wheat
|
ce0eeb392a
|
fix parsing of quoted keywords
|
2019-08-31 09:13:09 +01:00 |
|
Jake Wheat
|
525a1a8652
|
fixes to docs
|
2019-07-07 13:46:39 +01:00 |
|
Jake Wheat
|
8e9b9edd0c
|
add window functions to the keyword parser hack so they work, bug #18
|
2019-07-07 13:08:02 +01:00 |
|
Jonas Scholl
|
9631a3d1ba
|
Update for base-4.11 compatibility.
|
2018-07-11 22:37:18 +02:00 |
|
Jake Wheat
|
ff3dcb814c
|
add support for oracle type size units 'char' and 'byte', example: varchar2(55 byte)
|
2016-08-10 11:27:30 +03:00 |
|
Jake Wheat
|
7f08e51c74
|
add comments to statement syntax
|
2016-02-22 23:28:59 +02:00 |
|