1
Fork 0

add some big improvements to parse error messages

change the parser to not attempt to parse the elements following
'from' unless there is a actual 'from'
improve the symbol parser to try to deal with issues when symbols are
  next to eachother with no intervening whitespaces
improve number literal parsing to fail if there are trailing letters
  or digits which aren't part of the number and aren't separated with
  whitespace
add some code to start analysing the quality of parse error messages
This commit is contained in:
Jake Wheat 2014-04-17 18:32:41 +03:00
parent c48b057457
commit 488310ff6a
7 changed files with 298 additions and 41 deletions
tools/Language/SQL/SimpleSQL

View file

@ -28,7 +28,7 @@ test data to the Test.Framework tests.
> import Language.SQL.SimpleSQL.ValueExprs
> import Language.SQL.SimpleSQL.Tpch
> import Language.SQL.SimpleSQL.SQL2003
Order the tests to start from the simplest first. This is also the
order on the generated documentation.
@ -44,6 +44,7 @@ order on the generated documentation.
> ,fullQueriesTests
> ,postgresTests
> ,tpchTests
> ,sql2003Tests
> ]
> tests :: Test.Framework.Test