v0.9.8
Added
- new specs for
CREATE TRIGGER
and datatypes
Changed
-
added a bunch of missing descriptions for grammar rules in
grammar.pegjs
-
make sure that a
description
is not repeated in smart error message -
comment
rules no longer allow you to put a space between the two symbols at the start and/or end of a comment.SELECT * - - not valid but is being accepted
-
added some extra helper rules to
CREATE
statement rules to help the tracer avoid traversing the wrong create statement type -
allowed characters in identifiers now includes dollar sign
$
and no longer includes dash-
for unquoted values -
Since
SQLite
itself is tolerant of this behavior, although it is non-standard, parser allows single-quoted string literals to be interpreted as aliases.select 'hat'.*, COUNT(*) as 'pants' from hats 'hat'
-
removed
grunt-string-replace
fromdevDependencies
-
no longer building demo on top of source in
demo/
folder.grunt live
now puts assets for interactive demo into.tmp/
folder and thengrunt demo
creates a min bundle in thedemo/
folder -
raw source for interactive demo now exists in
src/demo/
folder -
now using
grunt-contrib-cssmin
to create single css bundle file for demo
Notes
- there is way too much magic/nonsense in the
smartError()
method ofTracer
. need to come up with an alternative approach to getting the right information for syntax errors.