1
Fork 0

update version, and some docs

This commit is contained in:
Jake Wheat 2019-08-31 16:27:33 +01:00
parent ca910b8e6d
commit 2ab4c08a7e
3 changed files with 17 additions and 15 deletions

View file

@ -1,3 +1,14 @@
0.6.0
checked - works with ghc 8.8.1 - but because of pretty-show,
the executable doesn't work with this ghc yet
change the dialect handling - now a dialect is a bunch of flags
plus a keyword list, and custom dialects are now feasible
(still incomplete)
fix parsing for a lot of things which are keywords in the standard
fix bug with cte pretty printing an extra 'as', which the parser
also incorrectly accepted
bug fix: allow keywords that are quoted to be parsed as identifiers
0.5.0
update to work with ghc 8.6.5, also tested with 8.4.4 and 8.2.1
rename some of the modules Lexer -> Lex, Parser -> Parse

View file

@ -1,5 +1,5 @@
name: simple-sql-parser
version: 0.5.1
version: 0.6.0
synopsis: A parser for SQL.
description:

View file

@ -25,7 +25,7 @@ likely to change the abstract syntax types considerably.
Release 0.5.0 is a checkpoint release since there hasn't been a
release for a while.
Tested with GHC 8.6.5, 8.4.4 and 8.2.1.
Tested with GHC 8.8.1, 8.6.5, 8.4.4 and 8.2.1.
== Links
@ -338,7 +338,6 @@ doIt src = do
either (error . peFormattedError)
(putStrLn . ppShow)
parsed
----
@ -371,22 +370,14 @@ cabal v2-test
----
Or you can run them directly which gives more options. The tests use
tasty, which provides the command line options.
tasty, which provides the command line options. --hide-successes
with --ansi-tricks=false so it works is a good option to use:
----
cabal v2-build --enable-tests
dist-newstyle/build/x86_64-linux/ghc-8.6.5/simple-sql-parser-0.5.0/t/Tests/build/Tests/Tests
cabal new-run test:Tests -- --hide-successes --ansi-tricks=false
----
--hide-successes is a good option to use:
----
dist-newstyle/build/x86_64-linux/ghc-8.6.5/simple-sql-parser-0.5.0/t/Tests/build/Tests/Tests --hide-successes
----
Right now this option doesn't seem to be working for me - it still
outputs a huge amount of text when all the tests pass.
== Reporting bugs
Please report bugs here: