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
Jake Wheat
b631497a04
renames OrderField->SortSpec, InThing->InPredValue
2013-12-18 16:27:06 +02:00
Jake Wheat
b89f2a011c
fixes for substring, change the abstract syntax for extract and
...
substring, and add the addition operators position, convert,
translate, overlay and trim
2013-12-18 15:51:55 +02:00
Jake Wheat
1397047654
update TODO, changelog and cabal package version
2013-12-18 11:37:35 +02:00
Jake Wheat
9fb18f9b7b
todo
2013-12-17 23:10:14 +02:00
Jake Wheat
02e8452f8c
prepare for the github project name rename to be the same as the haskage package
2013-12-17 22:54:20 +02:00
Jake Wheat
6ab941312b
updated todo
2013-12-17 22:15:42 +02:00
Jake Wheat
5cef82cbb3
todo update
2013-12-17 21:34:01 +02:00
Jake Wheat
84e3da3a21
add changelog
2013-12-17 21:12:16 +02:00
Jake Wheat
e61672ebf8
hlint
2013-12-17 20:27:11 +02:00
Jake Wheat
9b1bbbf307
add back test for postgres limit syntax, convert tpch queries to ansi fetch first n rows only syntax
2013-12-17 20:04:49 +02:00
Jake Wheat
b703e04af3
add syntax for new grouping expressions
2013-12-17 19:17:03 +02:00
Jake Wheat
7d094182b7
add support for multiple case when expressions
2013-12-17 18:42:00 +02:00
Jake Wheat
89a4dd0e3e
add a few more operators: % & ^ | ~
2013-12-17 16:15:19 +02:00
Jake Wheat
b2728ec9bf
add support for ansi standard offset and fetch syntax
2013-12-17 16:00:17 +02:00
Jake Wheat
8093498f2d
generalize . to a binary operator
2013-12-17 15:21:43 +02:00
Jake Wheat
8adc169b38
add support for '' in string literals
2013-12-17 15:09:28 +02:00
Jake Wheat
72b67166d9
add support for 'table t' syntax
2013-12-17 13:58:44 +02:00
Jake Wheat
4308acb982
add support for with recursive and column aliases in cte
2013-12-17 13:41:06 +02:00
Jake Wheat
6ff8c9ddc5
rearrange the test code and add some notes on postgres
2013-12-17 11:40:31 +02:00
Jake Wheat
86ba354e26
fix case insensitivity for keyword parsing, add some notes
2013-12-16 13:33:05 +02:00
Jake Wheat
3f0ff9aec0
small tidyups
2013-12-14 20:20:41 +02:00
Jake Wheat
3fa7086a48
few small typos, etc.
2013-12-14 17:09:45 +02:00
Jake Wheat
b6633bf73c
reformat
2013-12-14 16:58:35 +02:00
Jake Wheat
c28db4d470
add haddock, reorder the fields in binop and jointref to be more natural
2013-12-14 13:33:15 +02:00
Jake Wheat
0de32d3429
tidying up
2013-12-14 10:55:44 +02:00