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
This commit is contained in:
parent
9ee2a1beab
commit
4704ccc28e
5 changed files with 234 additions and 187 deletions
|
@ -30,6 +30,8 @@ library
|
|||
exposed-modules: Language.SQL.SimpleSQL.Pretty,
|
||||
Language.SQL.SimpleSQL.Parser,
|
||||
Language.SQL.SimpleSQL.Syntax
|
||||
Other-Modules: Language.SQL.SimpleSQL.Errors,
|
||||
Language.SQL.SimpleSQL.Combinators
|
||||
other-extensions: TupleSections
|
||||
build-depends: base >=4.6 && <4.8,
|
||||
parsec >=3.1 && <3.2,
|
||||
|
@ -56,6 +58,8 @@ Test-Suite Tests
|
|||
Other-Modules: Language.SQL.SimpleSQL.Pretty,
|
||||
Language.SQL.SimpleSQL.Parser,
|
||||
Language.SQL.SimpleSQL.Syntax,
|
||||
Language.SQL.SimpleSQL.Errors,
|
||||
Language.SQL.SimpleSQL.Combinators
|
||||
|
||||
Language.SQL.SimpleSQL.ErrorMessages,
|
||||
Language.SQL.SimpleSQL.FullQueries,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue