Skip to content

Releases: walter-weinmann/ocparse

Version 1.4.3: Infrastructure improvements.

29 Nov 05:36
Compare
Choose a tag to compare

Feature new

  • Script files: all script files are now for both Unix and Windows available.

Features modified

  • Test Data Generator:
    -- the scripts and the program code have been moved to the test directory,
    -- the scope of test data generation can now be determined using environment variables.

Version 1.4.2: Enhancement of the test data.

19 Nov 09:10
89cff7b
Compare
Choose a tag to compare

Feature new

  • Adding examples from The Neo4j Developer Manual v3.3 to the test data.

Features modified

  • Cleaning up the lex definitions.
  • Support of the grammar rule ParenthesizedExpression.

Version 1.4.1: Minor refinements.

16 Nov 20:27
1c6e211
Compare
Choose a tag to compare

Feature new

  • Support of geas in the rebar3 test profile.

Features modified

  • Adding a reasoning documentation for the generation sequence in the test data generator to the program code.
  • Improving the performance of the test data generation by an increasing of the heap size.

Version 1.4.0: Update to latest grammar definitions.

16 Nov 08:08
3cdaf2f
Compare
Choose a tag to compare

Feature new

Features modified

  • Improving list performance.
  • Running a script files creates a logging file.
  • Support of dialyzer.

Feature removed

Version 1.3.1: Update to latest grammar definitions.

03 May 14:38
Compare
Choose a tag to compare
Merge pull request #73 from walter-weinmann/wwe

Version 1.3.1.

Version 1.3.0: Update to latest grammar definitions.

19 Apr 07:56
Compare
Choose a tag to compare

Features modified

  • Refactoring of the test data generator (ocparse_generator) in order to modularize.
  • Refactoring of the test driver (ocparse_test.erl) to facilitate the error analysis.

Features omitted

  • Legacy version support is discontinued.

Version 1.2.6: Minor configuration refinements.

10 Feb 13:44
Compare
Choose a tag to compare
Merge pull request #66 from walter-weinmann/wwe

Minor configuration refinements.

Version 1.2.5: Conflicting module name.

07 Jan 14:44
Compare
Choose a tag to compare

Renaming test_generatorto ocparse_generator.

Version 1.2.4: OpenCypher 1.0.0-M04.

31 Dec 11:10
Compare
Choose a tag to compare

Release Date: 31.12.2016 - Grammar as of 20.12.2016

Grammar changes

  • Atom
New: Atom = Literal
          | Parameter
          | ((C,O,U,N,T), [SP], '(', [SP], '*', [SP], ')')
          | ListComprehension
          | ((F,I,L,T,E,R), [SP], '(', [SP], FilterExpression, [SP], ')')
          ...

Old: Atom = NumberLiteral
          | StringLiteral
          | Parameter
          | (T,R,U,E)
          | (F,A,L,S,E)
          | (N,U,L,L)
          | ((C,O,U,N,T), [SP], '(', [SP], '*', [SP], ')')
          | MapLiteral
          | ListComprehension
          | ('[', [SP], Expression, [SP], { ',', [SP], Expression, [SP] }, ']')
          | ((F,I,L,T,E,R), [SP], '(', [SP], FilterExpression, [SP], ')')
          ...     
  • BooleanLiteral
New: BooleanLiteral = (T,R,U,E)
                    | (F,A,L,S,E)
                    ;

Old: n/a
  • DecimalInteger
New: DecimalInteger = ZeroDigit
                    | (NonZeroDigit, { Digit })
                    ;

Old: DecimalInteger = (('1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9'), [DigitString])
                    | '0'
                    ;
  • Delete
New: Delete = [(D,E,T,A,C,H), SP], (D,E,L,E,T,E), [SP], Expression, { [SP], ',', [SP], Expression } ;

Old: Delete = ((D,E,L,E,T,E), Expression, { ',', Expression })
            | ((D,E,T,A,C,H), SP, (D,E,L,E,T,E), Expression, { ',', Expression })
            ;
  • Digit
New: Digit = ZeroDigit
           | NonZeroDigit
           ;

Old: Digit = '0'
           | '1'
           | '2'
           | '3'
           | '4'
           | '5'
           | '6'
           | '7'
           | '8'
           | '9'
           ;
  • DigitString
New: n/a

Old: DigitString = { Digit }- ;
  • ExponentDecimalReal
New: ExponentDecimalReal = ({ Digit }- | ({ Digit }-, '.', { Digit }-) | ('.', { Digit }-)), ((E) | (E)), ['-'], { Digit }- ;

Old: ExponentDecimalReal = ({ Digit | '.' }- | DecimalInteger), ((E) | (E)), (DigitString | DecimalInteger) ;
  • HexDigit
New: HexDigit = Digit
              | HexLetter
              ;

Old: HexDigit = '0'
              | '1'
              | '2'
              | '3'
              | '4'
              | '5'
              | '6'
              | '7'
              | '8'
              | '9'
              | (A)
              | (B)
              | (C)
              | (D)
              | (E)
              | (F)
              ;
  • HexInteger
New: HexInteger = ('0',X), { HexDigit }- ;

Old: HexInteger = ('0',X), HexString ;
  • HexLetter
New: HexLetter = (A)
               | (B)
               | (C)
               | (D)
               | (E)
               | (F)
               ;

Old: n/a
  • HexString
New: n/a

Old: HexString = { HexDigit }- ;
  • ListComprehension
New: ListComprehension = '[', [SP], FilterExpression, [[SP], '|', [SP], Expression], [SP], ']' ;

Old: ListComprehension = '[', FilterExpression, [[SP], '|', Expression], ']' ;
  • ListLiteral
New: ListLiteral = '[', [SP], [Expression, [SP], { ',', [SP], Expression, [SP] }], ']' ;

Old: n/a
  • Literal
New: Literal = NumberLiteral
             | StringLiteral
             | BooleanLiteral
             | (N,U,L,L)
             | MapLiteral
             | ListLiteral
             ;

Old: n/a
  • NonZeroDigit
New: NonZeroDigit = NonZeroOctDigit
                  | '8'
                  | '9'
                  ;

Old: n/a
  • NonZeroOctDigit
New: NonZeroOctDigit = '1'
                     | '2'
                     | '3'
                     | '4'
                     | '5'
                     | '6'
                     | '7'
                     ;

Old: n/a
  • OctalInteger
New: OctalInteger = ZeroDigit, { OctDigit }- ;

Old: OctalInteger = '0', OctalString ;
  • OctalString
New: n/a

Old: OctalString = { OctDigit }- ;
  • OctDigit
New: OctDigit = ZeroDigit
              | NonZeroOctDigit
              ;

Old: OctDigit = '0'
              | '1'
              | '2'
              | '3'
              | '4'
              | '5'
              | '6'
              | '7'
              ;
  • RegularDecimalReal
New: RegularDecimalReal = { Digit }, '.', { Digit }- ;

Old: RegularDecimalReal = ({ Digit } | DecimalInteger), '.', (DigitString | DecimalInteger) ;
  • Return
New: Return = (R,E,T,U,R,N), [[SP], (D,I,S,T,I,N,C,T)], SP, ReturnBody ;

Old: Return = ((R,E,T,U,R,N), SP, (D,I,S,T,I,N,C,T), SP, ReturnBody)
            | ((R,E,T,U,R,N), SP, ReturnBody)
            ;
  • VersionNumber (Legacy)
New: VersionNumber = RegularDecimalReal ;

Old: VersionNumber = DecimalInteger, '.', DecimalInteger ;
  • With
New: With = (W,I,T,H), [[SP], (D,I,S,T,I,N,C,T)], SP, ReturnBody, [[SP], Where] ;


Old: With = ((W,I,T,H), (D,I,S,T,I,N,C,T), SP, ReturnBody, [Where])
          | ((W,I,T,H), SP, ReturnBody, [Where])
          ;
  • ZeroDigit
New: ZeroDigit = '0' ;


Old: n/a

Version 1.2.3: Minor grammar changes.

15 Dec 10:49
Compare
Choose a tag to compare

Release Date: 15.12.2016 - Grammar as of 14.12.2016

Grammar changes

  • Expression9
New: Expression9 = { (N,O,T), [SP] }, Expression8 ;

Old: Expression9 = { SP, (N,O,T), SP }, Expression8 ;
  • LiteralIds (Legacy)
New: LiteralIds = IntegerLiteral, { [SP], ',', [SP], IntegerLiteral } ;

Old: LiteralIds = { [SP], ',', [SP] } ;
  • NodeLookup (Legacy)
New: NodeLookup = (N,O,D,E), [SP], (IdentifiedIndexLookup | IndexQuery | IdLookup) ;

Old: NodeLookup = (N,O,D,E), (IdentifiedIndexLookup | IndexQuery | IdLookup) ;
  • PeriodicCommitHint (Legacy)
New: PeriodicCommitHint = (U,S,I,N,G), SP, (P,E,R,I,O,D,I,C), SP, (C,O,M,M,I,T), [SP, IntegerLiteral] ;

Old: PeriodicCommitHint = (U,S,I,N,G), SP, (P,E,R,I,O,D,I,C), SP, (C,O,M,M,I,T), [SP] ;
  • SortItem
New: SortItem = Expression, [[SP], ((A,S,C,E,N,D,I,N,G) | (A,S,C) | (D,E,S,C,E,N,D,I,N,G) | (D,E,S,C))] ;

Old: SortItem = (Expression, ((D,E,S,C,E,N,D,I,N,G) | (D,E,S,C)))
              | (Expression, [(A,S,C,E,N,D,I,N,G) | (A,S,C)])
              ;