1
Fork 0
This commit is contained in:
Jake Wheat 2014-09-13 10:45:45 +03:00
parent ba331af24b
commit 3bf4fdbe52
3 changed files with 44 additions and 38 deletions
tools/Language/SQL/SimpleSQL

View file

@ -8,6 +8,11 @@ Tests.lhs module for the 'interpreter'.
> import Language.SQL.SimpleSQL.Syntax
TODO: maybe make the dialect args into [dialect], then each test
checks all the dialects mentioned work, and all the dialects not
mentioned give a parse error. Not sure if this will be too awkward due
to lots of tricky exceptions/variationsx.
> data TestItem = Group String [TestItem]
> | TestValueExpr Dialect String ValueExpr
> | TestQueryExpr Dialect String QueryExpr