update version, and some docs
This commit is contained in:
parent
ca910b8e6d
commit
2ab4c08a7e
11
changelog
11
changelog
|
@ -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
|
0.5.0
|
||||||
update to work with ghc 8.6.5, also tested with 8.4.4 and 8.2.1
|
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
|
rename some of the modules Lexer -> Lex, Parser -> Parse
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
name: simple-sql-parser
|
name: simple-sql-parser
|
||||||
version: 0.5.1
|
version: 0.6.0
|
||||||
synopsis: A parser for SQL.
|
synopsis: A parser for SQL.
|
||||||
|
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -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 0.5.0 is a checkpoint release since there hasn't been a
|
||||||
release for a while.
|
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
|
== Links
|
||||||
|
|
||||||
|
@ -338,7 +338,6 @@ doIt src = do
|
||||||
either (error . peFormattedError)
|
either (error . peFormattedError)
|
||||||
(putStrLn . ppShow)
|
(putStrLn . ppShow)
|
||||||
parsed
|
parsed
|
||||||
|
|
||||||
----
|
----
|
||||||
|
|
||||||
|
|
||||||
|
@ -371,22 +370,14 @@ cabal v2-test
|
||||||
----
|
----
|
||||||
|
|
||||||
Or you can run them directly which gives more options. The tests use
|
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
|
cabal new-run test:Tests -- --hide-successes --ansi-tricks=false
|
||||||
dist-newstyle/build/x86_64-linux/ghc-8.6.5/simple-sql-parser-0.5.0/t/Tests/build/Tests/Tests
|
|
||||||
----
|
----
|
||||||
|
|
||||||
--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
|
== Reporting bugs
|
||||||
|
|
||||||
Please report bugs here:
|
Please report bugs here:
|
||||||
|
|
Loading…
Reference in a new issue