1
Fork 0
Commit graph

354 commits

Author SHA1 Message Date
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
8c05ffd0b6 update docs 2024-01-09 10:00:30 +00:00
Jake Wheat
4a3455b67c switch from pretty to prettyprinter 2024-01-09 00:14:48 +00:00
Jake Wheat
54db1de22c update version of simple sql parser package 2024-01-09 00:08:53 +00:00
Jake Wheat
ec8ce0243e switch from literate to regular haskell source 2024-01-09 00:07:47 +00:00
Jake Wheat
f51600e0b1
Merge pull request from Airsequel/non-comma-separated-constraints
Parse constraints not separated by comma
2024-01-08 23:39:22 +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
Jake Wheat
d8b32c0931
Merge pull request from Airsequel/autoincrement
Support autoincrement columns
2024-01-08 22:05:07 +00: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
Jake Wheat
6957a39911 update to work with latest ghc, cabal packages 2024-01-08 12:26:44 +00:00
Jake Wheat
a937424514
Merge pull request from bartoszw/master
Two enhancements of sqlserver dialect
2021-12-05 18:20:13 +00:00
Bartosz Wójcik
4f0b373131 Merge branch 'master' of https://github.com/bartoszw/simple-sql-parser 2021-12-02 17:04:04 +01:00
Bartosz Wójcik
80e79ced2e Small editorial 2021-12-02 17:04:01 +01:00
Bartosz Wójcik
b74bbefd2b
Delete stack.yaml.lock 2021-12-02 17:03:27 +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
Jake
46a83fe866 add a couple of extra empty statement tests 2021-10-19 16:14:05 +01:00
Jake
ff25dbb880 Merge branch 'fix-empty-statement' 2021-10-19 16:11:38 +01:00
Jake
c0b0174613 update dep 2021-10-19 16:07:06 +01:00
Ignat Insarov
0aa28ff96a Fix handling of empty statements. 2020-12-20 20:26:34 +05:00
Jake Wheat
b41d4838d4 update makefile 2020-04-24 18:35:38 +01:00
Jake Wheat
7fbd822fc3 update cabal to split into lib and sections 2020-04-24 18:27:41 +01:00
Jake Wheat
5fde163833 add travis 2020-04-24 18:16:24 +01: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
8accc62cef
Update README 2019-12-21 10:58:23 +00:00
Jake Wheat
ac66ede538 add source to haddock, few doc notes, tweak website build 2019-09-21 09:18:27 +01:00
Jake Wheat
a55694abff small doc fix 2019-09-01 11:55:13 +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
7e38efc0bf update website build script 2019-08-31 16:48:51 +01:00
Jake Wheat
2ab4c08a7e update version, and some docs 2019-08-31 16:27:33 +01:00
Jake Wheat
ca910b8e6d tweaks to the keyword list and handling 2019-08-31 16:15:17 +01:00
Jake Wheat
1a1913e7b8 example of a custom dialect which allows date('xxx') syntax by removing 'date' from the list of keywords 2019-08-31 13:50:12 +01:00
Jake Wheat
206982cd0a fix error message in simple sql parser when not parsing from file 2019-08-31 13:43:37 +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