see answers below:

-- Stephan

On 10.07.14 07:35, "Vikram Pancholi" <[email protected]> wrote:

>Hi,
>   I would like to have some inputs on lexer parser implementation G4 file
>present in the master. Some of the points I am looking for is
>1. Changes from the base version present in OASIS documentation

>From the grammer file:
// This grammer refers to the "odata-abnf-construction-rules.txt" Revision
517.

=> we have to diff with the latest and greatest of OData4


>2. List of Features present.

Nearly complete. AFAIK $search is not yet supported.

>3. Features yet to be created and in general the stability of this file.

We haven't yet a 1st release and so I wouldn't give a guaranty for 100%
stability of api. On the other hand ANTLR is a rule based solution very
close to the spec. I would not expect major changes. Last but not least
the parser is core and not api. On api you only will depend on the visitor
pattern.

>4. Any advantage/disadvantages observed in using antlr and specific
>versions compatibility if any as opposed to coding own lexer parser.

ANTLR is a de-facto standard for working with grammars and you can find a
lot of documentation. With that its easy to understand. Even though the
grammar file is only optimized for Java this solution can be re-used for
other languages supported by ANTLR. Last but not lease performance of
result is quite good.


>
>
>Thanks and Regards,
> Vikram Pancholi

Reply via email to