Skip to content
This repository has been archived by the owner on Jul 15, 2021. It is now read-only.

v0.9.8

Compare
Choose a tag to compare
@nwronski nwronski released this 14 Jul 04:13
· 213 commits to master since this release

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 from devDependencies

  • no longer building demo on top of source in demo/ folder. grunt live now puts assets for interactive demo into .tmp/ folder and then grunt demo creates a min bundle in the demo/ 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 of Tracer. need to come up with an alternative approach to getting the right information for syntax errors.