1
Fork 0
Commit graph

62 commits

Author SHA1 Message Date
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
Jake Wheat 0f1f000ee5 add fixity experiment 2015-08-01 15:58:45 +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 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 43d81f969a update deps so it compiles with 7.4.2 2015-03-14 17:38:00 +02: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 8cabf5abcf remove old 2003 tests
add tests for sort specification
2014-04-20 23:29:22 +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 4fa21ceea8 get rid of the string overloads in the tests 2014-04-19 11:45:45 +03:00
Jake Wheat 4989f5251b add Data and Typeable to the syntax 2014-04-10 18:53:11 +03:00
Jake Wheat cc2b494465 remove unused dependency on haskell-src-exts 2013-12-31 13:43:26 +02:00
Jake Wheat fd42a3cd73 remove self dependency for SqlIndent exe in cabal 2013-12-31 12:26:05 +02:00
Jake Wheat 552d3f5383 use Parser type from Text.Parsec.String, make imports explicit 2013-12-31 11:21:03 +02:00
jake 9d8c1badbd give in and use the parsec buildExpressionParser for now 2013-12-31 11:02:26 +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 2ae1ced7cc rename PrettyIt to SQLIdent and add to cabal 2013-12-19 10:31:27 +02:00
Jake Wheat 1397047654 update TODO, changelog and cabal package version 2013-12-18 11:37:35 +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 84e3da3a21 add changelog 2013-12-17 21:12:16 +02:00
Jake Wheat b703e04af3 add syntax for new grouping expressions 2013-12-17 19:17:03 +02:00
Jake Wheat 8adc169b38 add support for '' in string literals 2013-12-17 15:09:28 +02:00
Jake Wheat 4330b3d7e0 add support for quoted identifiers 2013-12-17 13:21:36 +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 6ff8c9ddc5 rearrange the test code and add some notes on postgres 2013-12-17 11:40:31 +02:00