fix regression in extract function parsing, some small tweaks
This commit is contained in:
parent
7e38efc0bf
commit
9f2ff37c54
|
@ -182,7 +182,7 @@ windows, etc.)
|
|||
> ,"cursor" -- keyword
|
||||
> ,"cycle" --keyword
|
||||
> ,"date" -- type
|
||||
> ,"day" -- keyword?
|
||||
> --,"day" -- keyword? - the parser needs it to not be a keyword to parse extract at the moment
|
||||
> ,"deallocate" -- keyword
|
||||
> ,"dec" -- type
|
||||
> ,"decimal" -- type
|
||||
|
@ -237,7 +237,7 @@ windows, etc.)
|
|||
> ,"groups"
|
||||
> ,"having"
|
||||
> ,"hold"
|
||||
> ,"hour"
|
||||
> --,"hour"
|
||||
> ,"identity"
|
||||
> ,"in"
|
||||
> ,"indicator"
|
||||
|
|
2
Makefile
2
Makefile
|
@ -10,7 +10,7 @@ build :
|
|||
|
||||
.PHONY : test
|
||||
test :
|
||||
cabal new-run test:Tests -- --hide-successes --ansi-tricks=false
|
||||
cabal v2-run test:Tests -- --hide-successes --ansi-tricks=false
|
||||
|
||||
.PHONY : website
|
||||
website :
|
||||
|
|
3
TODO
3
TODO
|
@ -4,6 +4,7 @@ review alters, and think about adding rename versions
|
|||
which are really common and useful, but not in ansi
|
||||
https://github.com/JakeWheat/simple-sql-parser/issues/20
|
||||
|
||||
finish off going through the keyword list
|
||||
|
||||
do more examples
|
||||
what are the use cases?
|
||||
|
@ -33,8 +34,6 @@ themselves
|
|||
review main missing sql bits - focus on more mainstream things
|
||||
could also review main dialects
|
||||
|
||||
review the dialect support implementation
|
||||
|
||||
|
||||
syntax from hssqlppp:
|
||||
query hints, join hints
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
0.6.0
|
||||
checked - works with ghc 8.8.1 - but because of pretty-show,
|
||||
the executable doesn't work with this ghc yet
|
||||
checked 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)
|
||||
|
|
|
@ -13,7 +13,7 @@ formats output nicely. Current target is to parse most SQL:2011
|
|||
queries, plus a good subset of DDL, non-query DML, transaction
|
||||
management, access control and session management.
|
||||
|
||||
This is the documentation for version 0.5.0. Documentation for other
|
||||
This is the documentation for version 0.6.0. Documentation for other
|
||||
versions is available here:
|
||||
http://jakewheat.github.io/simple-sql-parser/.
|
||||
|
||||
|
@ -22,9 +22,6 @@ probably not very stable, since adding support for all the
|
|||
not-yet-supported ANSI SQL syntax, then other dialects of SQL is
|
||||
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.8.1, 8.6.5, 8.4.4 and 8.2.1.
|
||||
|
||||
== Links
|
||||
|
@ -375,7 +372,7 @@ with --ansi-tricks=false so it works is a good option to use:
|
|||
|
||||
|
||||
----
|
||||
cabal new-run test:Tests -- --hide-successes --ansi-tricks=false
|
||||
cabal v2-run test:Tests -- --hide-successes --ansi-tricks=false
|
||||
----
|
||||
|
||||
== Reporting bugs
|
||||
|
|
Loading…
Reference in a new issue