This website requires JavaScript.
ab82249523
Implement explain (query plan) statements, ala sqlite
explain-query-plan
prescientmoon
2025-01-10 18:48:30 +0100
c842cf50b6
update changelog
master
Jake Wheat
2024-10-08 15:40:52 +0100
5269cec38d
final text tweaks
Jake Wheat
2024-10-08 15:34:28 +0100
bd85f2ba74
fix website generation, update stack, a few small tweaks
Jake Wheat
2024-10-07 12:17:25 +0100
6805383774
update changelog
Jake Wheat
2024-10-07 10:53:50 +0100
fc002dc549
add partial support for parens at the query expression level
Jake Wheat
2024-10-07 10:49:50 +0100
f1ff143457
Merge remote-tracking branch 'origin/master'
Jake Wheat
2024-10-07 09:48:11 +0100
4d907fee7a
Merge pull request #56 from Airsequel/latest
Jake Wheat
2024-10-07 09:47:43 +0100
b6e74ed400
Merge remote-tracking branch 'origin/master'
Jake Wheat
2024-10-07 09:42:42 +0100
fb6248a110
Merge pull request #58 from hanjoosten/bugfix-issue#57
Jake Wheat
2024-10-07 09:40:32 +0100
0a3c672cd5
Bugfix for issue Bug: Brackets required in generated select statement. #57
hanjoosten
2024-10-05 17:54:31 +0200
4b0db42396
Merge branch 'default-clause-inside-constraints' into latest
prescientmoon
2024-09-02 19:50:11 +0200
74578f9cdf
Allow default clauses inside constraints
prescientmoon
2024-09-02 19:06:33 +0200
424211b49a
Allow not specifying types for column defs
prescientmoon
2024-09-02 18:25:37 +0200
39c8e05224
Merge pull request #52 from Airsequel/without-rowid
Jake Wheat
2024-07-15 12:49:51 +0100
bae817defd
Implement sqlite "without rowid" clauses
prescientmoon
2024-07-11 21:59:58 +0200
c79556d31c
update changelog
Jake Wheat
2024-02-12 22:42:28 +0000
b3bfb5e723
refactor parsing code slightly, small parse error tweaks
Jake Wheat
2024-02-08 10:49:37 +0000
742382fcc0
restrict parsing of * and X.* as term in expressions
Jake Wheat
2024-02-08 10:43:11 +0000
6e1e377308
replace error messages tool with golden test approach
Jake Wheat
2024-02-08 10:38:19 +0000
c11bee4a9c
switch tests to hspec, improve error messages
Jake Wheat
2024-02-04 16:00:59 +0000
fadd010942
add tags to release checklist
Jake Wheat
2024-02-03 13:47:18 +0000
59406c749e
restore source-repository section to cabal file
Jake Wheat
2024-02-03 09:07:30 +0000
7f4fda7ce7
fix error message quoting
Jake Wheat
2024-02-02 17:20:20 +0000
1f51e630d3
update changelog
Jake Wheat
2024-01-26 17:17:28 +0000
681cbfc416
overhaul website
Jake Wheat
2024-01-26 16:29:58 +0000
45669ed7d3
reorganise
Jake Wheat
2024-01-26 15:28:15 +0000
fa5091ac80
update docs
Jake Wheat
2024-01-12 19:25:13 +0000
fe6b71fa2a
hlint pass
Jake Wheat
2024-01-11 15:34:07 +0000
858c7723b0
adjust makeSelect helper to be new type, lib and tests now compile without any warnings
Jake Wheat
2024-01-11 14:45:20 +0000
a3d1ba7e5c
attempt to improve some parse errors, change some imports to be explicit
Jake Wheat
2024-01-11 14:01:04 +0000
9cadbee355
remove unneeded Setup.hs, update LICENSE, email
Jake Wheat
2024-01-11 13:55:41 +0000
e93d56b47a
add stack.yaml.lock file
Jake Wheat
2024-01-11 13:51:57 +0000
d2f4ebcb46
remote now unused combinators file
Jake Wheat
2024-01-11 13:51:48 +0000
382555b060
trivial tweaks
Jake Wheat
2024-01-10 17:05:56 +0000
add2e373a0
update changelog
Jake Wheat
2024-01-10 16:24:14 +0000
32e738f050
fix rendering of test case examples for website, other small fixes to website
Jake Wheat
2024-01-10 16:18:05 +0000
6ebf63ba29
get compiling with the latest stack lts (22.5)
Jake Wheat
2024-01-10 16:17:30 +0000
301ee009d0
fix pretty printer formatting
Jake Wheat
2024-01-10 16:10:00 +0000
6cde51dd57
remove old travis file which hasn't worked for a long time
Jake Wheat
2024-01-10 12:59:18 +0000
0460c237e5
update website
Jake Wheat
2024-01-10 12:54:01 +0000
2fd285e670
tidying pass: update changelog, get example compiling, pass on haddock, rename MyStream to SQLStream, tweak cabal file
Jake Wheat
2024-01-10 12:29:21 +0000
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
Jake Wheat
2024-01-10 11:57:13 +0000
e76aa2818b
all tests passing, switch to megaparsec provisionally complete
Jake Wheat
2024-01-10 11:41:38 +0000
4e09fe9f45
get old lexing code working again, now only 3 tests fail
Jake Wheat
2024-01-10 11:28:34 +0000
0f307f51c7
fix handling of lex errors
Jake Wheat
2024-01-10 09:44:12 +0000
55a7537108
clean up some warnings, remove parsec dep, fix a temp commented out test
Jake Wheat
2024-01-10 09:34:17 +0000
af8ea544f6
fix the permutation parsers
Jake Wheat
2024-01-10 09:27:13 +0000
8cc475240b
fix the scalar expression operator parsing, use expression operator parsing for set operations too
Jake Wheat
2024-01-10 09:18:07 +0000
7a5ad6c206
add reader to parse stack for dialect
Jake Wheat
2024-01-10 08:18:57 +0000
ab687318fb
checkpoint during parser conversion to megaparsec
Jake Wheat
2024-01-10 07:40:24 +0000
9396aa8cba
switch in megaparsec with stub lexing code
Jake Wheat
2024-01-09 17:53:12 +0000
d80796b1dd
reorder the lex file in prep
Jake Wheat
2024-01-09 17:47:04 +0000
8c05ffd0b6
update docs
Jake Wheat
2024-01-09 10:00:30 +0000
4a3455b67c
switch from pretty to prettyprinter
Jake Wheat
2024-01-09 00:14:48 +0000
54db1de22c
update version of simple sql parser package
Jake Wheat
2024-01-09 00:08:53 +0000
ec8ce0243e
switch from literate to regular haskell source
Jake Wheat
2024-01-09 00:07:47 +0000
f51600e0b1
Merge pull request #51 from Airsequel/non-comma-separated-constraints
Jake Wheat
2024-01-08 23:39:22 +0000
f180d1070b
Add non-comma separated constraint dialect toggle
Matei Adriel
2024-01-09 00:25:39 +0100
51157d502e
Parse constraints not separated by comma
Matei Adriel
2023-09-21 02:11:16 +0300
d8b32c0931
Merge pull request #50 from Airsequel/autoincrement
Jake Wheat
2024-01-08 22:05:07 +0000
d53afd905e
Add autoincrement option to dialect
Matei Adriel
2024-01-08 22:10:14 +0100
c997e3196c
Support autoincrement columns
Matei Adriel
2024-01-06 19:57:28 +0100
6957a39911
update to work with latest ghc, cabal packages
Jake Wheat
2024-01-08 12:26:44 +0000
a937424514
Merge pull request #36 from bartoszw/master
Jake Wheat
2021-12-05 18:20:13 +0000
4f0b373131
Merge branch 'master' of https://github.com/bartoszw/simple-sql-parser
Bartosz Wójcik
2021-12-02 17:04:04 +0100
80e79ced2e
Small editorial
Bartosz Wójcik
2021-12-02 17:04:01 +0100
b74bbefd2b
Delete stack.yaml.lock
Bartosz Wójcik
2021-12-02 17:03:27 +0100
61275461b5
Added tests for new added sqlserver dialect syntax.
Bartosz Wójcik
2021-12-02 16:50:35 +0100
efd4dea6ff
minor enhancements for sqlserver dialect
Bartosz Wójcik
2021-12-01 21:33:02 +0100
05481371dd
add schema support for create index referenced table, and add some tests
Jake
2021-10-19 16:32:25 +0100
f019c2d1ed
Merge branch 'greyson-simple-sql-parser'
Jake
2021-10-19 16:16:34 +0100
46a83fe866
add a couple of extra empty statement tests
Jake
2021-10-19 16:14:05 +0100
ff25dbb880
Merge branch 'fix-empty-statement'
Jake
2021-10-19 16:11:38 +0100
c0b0174613
update dep
Jake
2021-10-19 16:07:06 +0100
0aa28ff96a
Fix handling of empty statements.
Ignat Insarov
2020-12-20 20:03:15 +0500
b41d4838d4
update makefile
Jake Wheat
2020-04-24 18:35:38 +0100
7fbd822fc3
update cabal to split into lib and sections
Jake Wheat
2020-04-24 18:27:41 +0100
5fde163833
add travis
Jake Wheat
2020-04-24 18:16:24 +0100
54cefdc2ee
Added basic CREATE INDEX
parsing
Greyson Fischer
2020-04-08 01:05:07 -0400
bfa1b40b21
Added (normally defaulted) NULL
column constraint
Greyson Fischer
2020-04-07 14:25:10 -0400
8accc62cef
Update README
Jake Wheat
2019-12-21 10:58:23 +0000
ac66ede538
add source to haddock, few doc notes, tweak website build
Jake Wheat
2019-09-21 09:18:27 +0100
a55694abff
small doc fix
Jake Wheat
2019-09-01 11:55:13 +0100
9df04a3040
fix some imports and exports, particularly stop reexporting all the dialect stuff everywhere
Jake Wheat
2019-09-01 11:52:17 +0100
f58e19f33b
work on docs in dialect module, remove unnecessary export of ansi2011ReservedKeywords
Jake Wheat
2019-09-01 11:32:48 +0100
7f1351c123
tweak haddock, remove CPP (only causes a warning with ghc 8.2.1), other small tweaks
Jake Wheat
2019-09-01 10:04:04 +0100
df8a8e8df3
move special type names to the dialect
Jake Wheat
2019-09-01 09:45:26 +0100
86f5e203af
add iden keywords and app keywords to the dialect
Jake Wheat
2019-09-01 09:34:10 +0100
9f2ff37c54
fix regression in extract function parsing, some small tweaks
Jake Wheat
2019-08-31 18:12:35 +0100
7e38efc0bf
update website build script
Jake Wheat
2019-08-31 16:48:51 +0100
2ab4c08a7e
update version, and some docs
Jake Wheat
2019-08-31 16:27:33 +0100
ca910b8e6d
tweaks to the keyword list and handling
Jake Wheat
2019-08-31 16:15:17 +0100
1a1913e7b8
example of a custom dialect which allows date('xxx') syntax by removing 'date' from the list of keywords
Jake Wheat
2019-08-31 13:50:12 +0100
206982cd0a
fix error message in simple sql parser when not parsing from file
Jake Wheat
2019-08-31 13:43:37 +0100
4c8f612f56
fix some warnings, small tweaks to the build
Jake Wheat
2019-08-31 13:41:07 +0100
020b33e729
improve the dialect handling to be more feature based
Jake Wheat
2019-08-31 13:40:23 +0100
ee432d79ba
update handling of fetch first and limit wrt dialects
Jake Wheat
2019-08-31 12:38:24 +0100
eb45eb8705
start refactoring the dialect support, and work on the keyword handling
Jake Wheat
2019-08-31 11:57:28 +0100
3707a09cb8
allow current_timestamp to be parsed, bump version
Jake Wheat
2019-08-31 10:08:02 +0100