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
ce0eeb392a
fix parsing of quoted keywords
2019-08-31 09:13:09 +01:00
Jake Wheat
c5b8df7e2f
add note about older ghc versions
2019-07-08 18:40:55 +01:00
Jake Wheat
525a1a8652
fixes to docs
2019-07-07 13:46:39 +01:00
Jake Wheat
5db749128a
update changelog
2019-07-07 13:21:20 +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
Jake Wheat
e54cfee62b
work on documentation for new release
2019-07-07 12:54:22 +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
7f08e51c74
add comments to statement syntax
2016-02-22 23:28:59 +02:00
Jake Wheat
a2645ace3f
rename ValueExpr to ScalarExpr
2016-02-22 23:24:25 +02:00
Jake Wheat
3f7e0123a2
a few documentation and website tweaks
2016-02-22 23:16:36 +02:00
Jake Wheat
10a38657b5
update TODO
2016-02-22 23:16:15 +02:00
Jake Wheat
322b6f200d
finish on the website updates for now
2015-08-08 22:30:17 +03:00
Jake Wheat
357c5737b6
fix link to website
2015-08-08 20:07:44 +03:00
Jake Wheat
913fce068b
small fixes
...
work on the haddock
remove the old attoparsec position stuff from the lexer
change the lexer to accept position info in the same way as the parser
replace sqlindent with new test exe which can parse, lex and indent
2015-08-01 12:13:53 +03:00
Jake Wheat
3bf4fdbe52
notes
2014-09-13 10:45:45 +03:00
Jake Wheat
7d63c8f8e5
start on dialect prototype code
2014-06-27 12:19:15 +03:00
Jake Wheat
7914898cc8
update to accept latest mtl
2014-06-20 12:27:23 +03:00
Jake Wheat
4704ccc28e
create separate module for generic parser combinator utility functions
...
create separate module for the error formatting wrapper
heavily refactor the typename parser to remove almost all trys,
convert to applicative only, and left factor nicely
other refactoring to use more idiomatic parsing and to convert to
applicative only
2014-05-09 21:37:09 +03:00
Jake Wheat
9ee2a1beab
start reworking some of the combinators
2014-05-07 21:53:24 +03:00
Jake Wheat
0248bb90b3
order by tests
2014-04-21 14:16:45 +03:00
Jake Wheat
0d1e345262
work on from clause, group by and having tests in 2011
2014-04-20 22:10:55 +03:00
Jake Wheat
9b2ba2fb36
remove ref typename for consistency
...
support t and p multipliers in lob lengths
update a few tests
2014-04-20 19:24:03 +03:00
Jake Wheat
ccd0e6708f
start new file for the sql 2011 tests based on the grammar from the draft standard
2014-04-20 16:13:14 +03:00
Jake Wheat
7a7f4ba7aa
work around for haddock refusal to parse literal comment lines with *
...
in first character position
get rid of code_units since these are not in sql2011
implement next value for
parse the nullary functions with reserved names
updates to the sql2003 file
2014-04-19 21:17:19 +03:00
Jake Wheat
fdb90c0440
change collate and in chartype to be a list of names
...
rearrange and add notes to the parser
2014-04-19 12:47:25 +03:00
Jake Wheat
5d9a32a91d
reserve most of the reserved keywords in the parser
2014-04-19 00:18:15 +03:00
Jake Wheat
6b5a29c052
update docs
2014-04-18 23:51:05 +03:00
Jake Wheat
3b86a06e5c
implement complete interval literals
2014-04-18 21:38:24 +03:00
Jake Wheat
4e1a1da820
basic multiset support
2014-04-18 20:50:24 +03:00
Jake Wheat
b0f1e044b4
refactor some of the multi keyword/ multiword typename parsing
2014-04-18 14:50:54 +03:00
Jake Wheat
247c7a26b7
improve error messages
2014-04-18 12:28:05 +03:00
Jake Wheat
3df87a3cf9
change set quantifier and sort direction to represent default separately
2014-04-18 11:18:21 +03:00
Jake Wheat
c814cc9437
tweak to error message for reserved keyword as identifier
...
add in some group by and order by tests
2014-04-18 10:47:39 +03:00
Jake Wheat
2e44b7b968
update changelog
2014-04-18 00:36:50 +03:00
Jake Wheat
488310ff6a
add some big improvements to parse error messages
...
change the parser to not attempt to parse the elements following
'from' unless there is a actual 'from'
improve the symbol parser to try to deal with issues when symbols are
next to eachother with no intervening whitespaces
improve number literal parsing to fail if there are trailing letters
or digits which aren't part of the number and aren't separated with
whitespace
add some code to start analysing the quality of parse error messages
2014-04-17 18:32:41 +03:00
Jake Wheat
c48b057457
better sql 2003 todo list
2014-04-16 22:37:18 +03:00
Jake Wheat
e40ea1ad52
update changelog
2014-04-16 20:38:19 +03:00
Jake Wheat
dffd7b0d7a
refactor more of the parser to update with ideas from the tutorial
...
parser
remove a huge number of 'try' calls in the parser
rename some of the parser functions which used prefix s to nicer names
2014-04-16 20:22:42 +03:00
Jake Wheat
89015144f9
change the ints in the syntax to be integers
...
partially add buildExprParser hack to deal with some nested prefix and
postfix unary operators
add new file which starts going through the sql2003 grammar to try to
create lots of examples for comprehensive testing of sql2003
support.
replace the lexers with lexers from the tutorial project
2014-04-16 18:58:17 +03:00
Jake Wheat
8b1fa81de7
fix bug in parsing default as all instead of distinct for set operations
2014-04-15 13:47:34 +03:00
Jake Wheat
b385763341
merge
2014-01-22 22:07:58 +02:00
Jake Wheat
9e75fa9365
hlint
2013-12-31 11:44:10 +02:00
Jake Wheat
40c64c7631
rename qeFetch to qeFetchFirst
2013-12-19 17:50:25 +02:00
Jake Wheat
a231c7e9f8
reformat some of the changelog
2013-12-19 13:38:52 +02:00
Jake Wheat
692f8f84ad
fixes to haddock and update changelog
2013-12-19 12:15:05 +02:00
Jake Wheat
3b2730fd99
rename ScalarExpr -> ValueExpr which is slightly more standard, add notes on new fixity implementation
2013-12-19 11:46:51 +02:00
Jake Wheat
8fa1ac8a74
update changelog and TODO
2013-12-19 10:55:01 +02:00
Jake Wheat
27a1723813
update TODO
2013-12-19 10:27:44 +02:00