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
Jake Wheat
9bf4012fc4
fix homepage link in cabal file
2013-12-14 20:58:47 +02:00
Jake Wheat
0ef56bf088
add description field to cabal
2013-12-14 20:51:40 +02:00
Jake Wheat
4709103196
missing file in tests in cabal
2013-12-14 20:45:45 +02:00
Jake Wheat
44b82a797f
add tests to cabal
2013-12-14 20:42:01 +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
9092721ebb
get proof of concept fixity handling working
2013-12-14 15:05:52 +02:00
Jake Wheat
ac406c077c
small refactoring in the parser
...
factor out the integer parser for interval literals to separate lexer
refactor the app parser to include windows here instead of later on
add notes on the fixity handling
formatting in the cabal file
2013-12-14 11:23:58 +02:00
Jake Wheat
0de32d3429
tidying up
2013-12-14 10:55:44 +02:00
Jake Wheat
afc6933f64
put the modules in a better path
2013-12-13 16:04:48 +02:00
Jake Wheat
e3be820dfb
pretty printer, minor clean ups
...
clean up some warnings
update the cabal file
add pretty printer
add pretty printing tests
2013-12-13 15:05:32 +02:00
Jake Wheat
5ae8dbcf2c
add license, readme, gitignore and cabal
2013-12-13 12:46:35 +02:00