[
https://issues.apache.org/jira/browse/AVRO-956?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thiruvalluvan M. G. updated AVRO-956:
-------------------------------------
Attachment: AVRO-956.patch
The patch is for a functionally identical to the existing codebase. It removes
the dependencies on Flex, Bison and boost regex.
All the existing code that depends on Avro C++ should compile and run without
modification.
> 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
>
> Attachments: AVRO-956.patch
>
>
> 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