Remove dependency on Flex/Bison
-------------------------------

                 Key: AVRO-956
                 URL: https://issues.apache.org/jira/browse/AVRO-956
             Project: Avro
          Issue Type: Improvement
          Components: c++
    Affects Versions: 1.6.1
            Reporter: Thiruvalluvan M. G.
            Assignee: Thiruvalluvan M. G.
             Fix For: 1.7.0


The current schema parser uses Flex/Bison. Making Flex/Bison work with CMake 
seems difficult. Moreover trying to parse Json directly into in-memory schema 
object appears hard. The code is not friendly for extensions to implement new 
features such as namespace, documentation comments etc.

We already have a Json parser in Avro C++ codebase, but is hidden inside the 
JsonCodec. Bringing it out and implementing a schema parser on top of that 
(similar to the Java and C++ implementations) would fix the problem. The 
forthcoming patch does just that.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to