1
Fork 0
Commit graph

16 commits

Author SHA1 Message Date
Jake Wheat 2df76e3095 add separate lexer 2015-08-01 00:04:18 +03:00
Jake Wheat 1364c58534 use tasty for tests 2015-07-31 12:45:51 +03:00
Jake Wheat c1c514af35 example how to switch parsing and pretty printing depending on dialect 2014-06-28 15:41:11 +03:00
Jake Wheat 7d63c8f8e5 start on dialect prototype code 2014-06-27 12:19:15 +03:00
Jake Wheat 8cabf5abcf remove old 2003 tests
add tests for sort specification
2014-04-20 23:29:22 +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 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 8b1fa81de7 fix bug in parsing default as all instead of distinct for set operations 2014-04-15 13:47:34 +03: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 b703e04af3 add syntax for new grouping expressions 2013-12-17 19:17:03 +02:00
Jake Wheat abc30b82e6 work on tests
enable the postgresql tests, comment out the failing ones and add
  notes on how to get them working
move the tpchQueries data to the Language..Tpch module
fix the cabal file for the new tests
2013-12-17 12:16:03 +02:00
Jake Wheat 16bf35a6c4 split misc tests 2013-12-17 11:48:40 +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 5eb48efb36 reformat 2013-12-16 10:03:46 +02:00
Jake Wheat 44b82a797f add tests to cabal 2013-12-14 20:42:01 +02:00
Renamed from Tests.lhs (Browse further)