Jake Wheat
bd85f2ba74
fix website generation, update stack, a few small tweaks
2024-10-07 12:17:25 +01:00
Jake Wheat
fc002dc549
add partial support for parens at the query expression level
2024-10-07 10:49:50 +01:00
Jake Wheat
6e1e377308
replace error messages tool with golden test approach
2024-02-08 10:38:19 +00:00
Jake Wheat
c11bee4a9c
switch tests to hspec, improve error messages
2024-02-04 16:00:59 +00:00
Jake Wheat
59406c749e
restore source-repository section to cabal file
2024-02-03 09:07:30 +00:00
Jake Wheat
7f4fda7ce7
fix error message quoting
2024-02-02 17:20:20 +00:00
Jake Wheat
45669ed7d3
reorganise
...
move exe example to examples/
get rid of the second example
move tests to tests/
don't shadow show in Pretty
2024-01-26 15:28:15 +00:00
Jake Wheat
9cadbee355
remove unneeded Setup.hs, update LICENSE, email
2024-01-11 13:55:41 +00:00
Jake Wheat
6ebf63ba29
get compiling with the latest stack lts (22.5)
2024-01-10 16:17:30 +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
55a7537108
clean up some warnings, remove parsec dep, fix a temp commented out test
2024-01-10 09:34:17 +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
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
6957a39911
update to work with latest ghc, cabal packages
2024-01-08 12:26:44 +00: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
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
7fbd822fc3
update cabal to split into lib and sections
2020-04-24 18:27:41 +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
2ab4c08a7e
update version, and some docs
2019-08-31 16:27:33 +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
4c8f612f56
fix some warnings, small tweaks to the build
2019-08-31 13:41:07 +01:00
Jake Wheat
3707a09cb8
allow current_timestamp to be parsed, bump version
2019-08-31 10:08:02 +01:00
Jake Wheat
8555650583
update build to use new cabal, update stack resolver, add build target for exe
2019-07-07 11:33:02 +01:00
Jake Wheat
908a8156e2
small updates for latest packages, cabal and ghc
2019-07-05 19:19:10 +01:00
Jake Wheat
00433a26e8
update some package versions
2018-09-22 11:37:13 +01:00
Jake Wheat
a33de9d7e0
update to lts-9.0
2017-08-05 12:29:33 +03:00
Jake Wheat
afe3b72a71
Merge branch '0.4.3'
2017-08-05 12:11:09 +03:00
Jake Wheat
67282108c9
add base version in cabal file for hackage
2017-08-02 22:32:39 +03:00
Jake Wheat
57e5004328
update dependencies
2017-06-27 23:07:56 +03: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
efcb0f78d1
add dependencies back to base
2016-07-12 09:58:34 +03:00
Jake Wheat
6f42a4866a
update version to 0.4.2
2016-07-12 09:55:04 +03:00
Jake Wheat
b3333b04bc
update dependencies so it works with ghc 8
2016-07-12 09:53:24 +03:00
Han Joosten
da83bba812
Relax dependency of base, to enable use of stack in combination of GHC 8.
2016-06-07 11:02:59 +02:00
Jake Wheat
a2645ace3f
rename ValueExpr to ScalarExpr
2016-02-22 23:24:25 +02:00
Jake Wheat
1b4eefc431
refactor dialect into a non enum and separate to own file
2016-02-12 12:51:06 +02:00
Jake Wheat
2b73907119
rename modules lexer->lex, parser->parse
2016-02-12 12:22:19 +02:00
Jake Wheat
5b786bd11d
small tweaks
2016-02-12 11:57:09 +02:00
Jake Wheat
3c0788af6e
add support for create/drop role, grant, revoke
2015-08-15 21:01:48 +03:00
Jake Wheat
63a23cabf4
small infrastructure fixes
...
updates to website text
updates to website generation
add a little makefile
2015-08-15 16:17:12 +03:00
Jake Wheat
c479e5e8f8
fix copyright
2015-08-01 23:21:46 +03:00
Jake Wheat
2938f642d3
fix to work on ghc 7.8.4, 7.6.3, plus small tweaks
2015-08-01 21:13:37 +03:00
Jake Wheat
dfa84072dc
start adding basic dml
...
parser and pretty printer for statements
add query statement
add support for
insert
update
delete
truncate
bonus ddl:
limited create schema
drop schema
add grammar notes to the new test files
2015-08-01 20:26:00 +03:00
Jake Wheat
6fc8869f73
preparation for non-queries
...
some docs in the lexer
bump the version to 0.5.0
add placeholder files for the planned initial non query support
2015-08-01 18:08:54 +03:00