Releases: walter-weinmann/ocparse
Releases · walter-weinmann/ocparse
Version 1.2.2: Replacing rebar by rebar3.
Release Date: 11.11.2016 - Grammar as of 10.11.2016
Grammar changes
There are no relevant grammar changes available.
New features
- Support of rebar3.
Version 1.2.1: 'WS' has been replaced by '[SP]'.
Release Date: 03.10.2016 - Grammar as of 02.10.2016
Grammar changes
WS
has been replaced by[SP]
.- Union
New: Union = ((U,N,I,O,N), SP, (A,L,L), [SP], SingleQuery)
| ((U,N,I,O,N), [SP], SingleQuery)
;
Old: Union = ((U,N,I,O,N), SP, (A,L,L), SingleQuery)
| ((U,N,I,O,N), SingleQuery)
;
- Atom
New: Atom = ...
| ((C,O,U,N,T), [SP], '(', [SP], '*', [SP], ')')
...
Old: Atom = ...
| ((C,O,U,N,T), '(', '*', ')')
...
- FunctionInvocation
New: FunctionInvocation = FunctionName, [SP], '(', [SP], [(D,I,S,T,I,N,C,T), [SP]], [Expression, [SP], { ',', [SP], Expression, [SP] }], ')' ;
Old: FunctionInvocation = FunctionName, WS, '(', WS, [(D,I,S,T,I,N,C,T), WS], [Expression, { ',', WS, Expression }, WS], ')' ;
- WS
New: n/a
Old: WS = { whitespace } ;
Version 1.2.0: Minor corrections.
Release Date: 29.08.2016 - Grammar as of 28.08.2016
Grammar changes
- VersionNumber (Legacy)
New: VersionNumber = DecimalInteger, '.', DecimalInteger ;
Old: VersionNumber = DigitString, '.', DigitString ;
- 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] ;
Old: PeriodicCommitHint = (U,S,I,N,G), SP, (P,E,R,I,O,D,I,C), SP, (C,O,M,M,I,T), [SP, SignedIntegerLiteral] ;
- IdentifiedIndexLookup (Legacy)
New: IdentifiedIndexLookup = ':', SymbolicName, '(', SymbolicName, '=', (StringLiteral | LegacyParameter), ')' ;
Old: IdentifiedIndexLookup = ':', SymbolicName, '(', SymbolicName, '=', (StringLiteral | Parameter), ')' ;
- IndexQuery (Legacy)
New: IndexQuery = ':', SymbolicName, '(', (StringLiteral | LegacyParameter), ')' ;
Old: IndexQuery = ':', SymbolicName, '(', (StringLiteral | Parameter), ')' ;
- IdLookup (Legacy)
New: IdLookup = '(', (LiteralIds | LegacyParameter | '*'), ')' ;
Old: IdLookup = '(', (LiteralIds | Parameter | '*'), ')' ;
- LiteralIds (Legacy)
New: LiteralIds = { WS, ',', WS } ;
Old: LiteralIds = UnsignedIntegerLiteral, { WS, ',', WS, UnsignedIntegerLiteral } ;
- Pattern
New: Pattern = PatternPart, { WS, ',', WS, PatternPart } ;
Old: Pattern = PatternPart, { ',', PatternPart } ;
- RelationshipDetail
New: RelationshipDetail = '[', [Variable], ['?'], [RelationshipTypes], [RangeLiteral], [Properties], ']' ;
Old: RelationshipDetail = '[', [Variable], ['?'], [RelationshipTypes], ['*', RangeLiteral], [Properties], ']' ;
- Properties (Legacy)
New: Properties = MapLiteral | Parameter | LegacyParameter ;
Old: Properties = MapLiteral | Parameter ;
- RangeLiteral
New: RangeLiteral = '*', WS, [IntegerLiteral, WS], ['..', WS, [IntegerLiteral, WS]] ;
Old: RangeLiteral = WS, [UnsignedIntegerLiteral, WS], ['..', WS, [UnsignedIntegerLiteral, WS]] ;
- Atom (Legacy)
New: Atom = ... | LegacyParameter | ...
Old: n/a
- Atom
New: Atom = ... | ParenthesizedExpression | ...
Old: Atom = ... | parenthesizedExpression | ...
- ParenthesizedExpression
New: ParenthesizedExpression = '(', WS, Expression, WS, ')' ;
Old: parenthesizedExpression = '(', WS, Expression, WS, ')' ;
- FunctionInvocation
New: FunctionInvocation = FunctionName, WS, '(', WS, [(D,I,S,T,I,N,C,T), WS], [Expression, { ',', WS, Expression }, WS], ')' ;
Old: FunctionInvocation = FunctionName, WS, '(', WS, [D,I,S,T,I,N,C,T], [Expression, { ',', WS, Expression }], WS, ')' ;
- CaseExpression (Legacy)
New: CaseExpression = (((C,A,S,E), { WS, CaseAlternatives }-) | ((C,A,S,E), WS, Expression, { WS, CaseAlternatives }-)), [WS, (E,L,S,E), WS, Expression], WS, (E,N,D) ;
Old: CaseExpression = (((C,A,S,E), { WS, CaseAlternatives }-) | ((C,A,S,E), Expression, { WS, CaseAlternatives }-)), [WS, (E,L,S,E), WS, Expression], WS, (E,N,D) ;
- NumberLiteral
New: NumberLiteral = ... | IntegerLiteral
Old: NumberLiteral = ... | SignedIntegerLiteral
- LegacyParameter (Legacy)
New: LegacyParameter = '{', WS, (SymbolicName | DecimalInteger), WS, '}' ;
Old: n/a
- Parameter
New: Parameter = '$', (SymbolicName | DecimalInteger) ;
Old: Parameter = '{', WS, (SymbolicName | UnsignedDecimalInteger), WS, '}' ;
- IntegerLiteral
New: IntegerLiteral = ...
Old: SignedIntegerLiteral = ...
- UnsignedIntegerLiteral
New: n/a
Old: UnsignedIntegerLiteral = UnsignedDecimalInteger ;
- HexInteger
New: HexInteger = ('0',X), HexString ;
Old: HexInteger = ['-'], UnsignedHexInteger ;
- DecimalInteger
New: DecimalInteger = (('1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9'), [DigitString])
| '0'
Old: DecimalInteger = ['-'], UnsignedDecimalInteger ;
- OctalInteger
New: OctalInteger = '0', OctalString ;
Old: OctalInteger = ['-'], UnsignedOctalInteger ;
- UnsignedHexInteger
New: n/a
Old: UnsignedHexInteger = ('0',X), HexString ;
- UnsignedDecimalInteger
New: n/a
Old: UnsignedDecimalInteger = (('1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9'), [DigitString])
| '0'
- UnsignedOctalInteger
New: n/a
Old: UnsignedOctalInteger = '0', OctalString ;
- ExponentDecimalReal
New: ExponentDecimalReal = ({ Digit | '.' }- | DecimalInteger), ((E) | (E)), (DigitString | DecimalInteger) ;
Old: ExponentDecimalReal = ['-'], { Digit | '.' }-, ((E) | (E)), ['-'], DigitString ;
- RegularDecimalReal
New: RegularDecimalReal = ({ Digit } | DecimalInteger), '.', (DigitString | DecimalInteger) ;
Old: RegularDecimalReal = ['-'], { Digit }, '.', DigitString ;
New features
- Test data generator for generating generic tests.
- Script for generic stress tests.