1
Fork 0
Commit graph

371 commits

Author SHA1 Message Date
Jake Wheat
9cadbee355 remove unneeded Setup.hs, update LICENSE, email 2024-01-11 13:55:41 +00:00
Jake Wheat
e93d56b47a add stack.yaml.lock file 2024-01-11 13:51:57 +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
add2e373a0 update changelog 2024-01-10 16:24:14 +00:00
Jake Wheat
32e738f050 fix rendering of test case examples for website, other small fixes to website 2024-01-10 16:18:05 +00:00
Jake Wheat
6ebf63ba29 get compiling with the latest stack lts (22.5) 2024-01-10 16:17:30 +00:00
Jake Wheat
301ee009d0 fix pretty printer formatting 2024-01-10 16:10:00 +00:00
Jake Wheat
6cde51dd57 remove old travis file which hasn't worked for a long time 2024-01-10 12:59:18 +00:00
Jake Wheat
0460c237e5 update website 2024-01-10 12:54:01 +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
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