Details
-
New Feature
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
I've started work on a pure-C compiler for generating C types that are specific to an Avro schema. This resurrects the avro_schema_specific function that's been lying around in the header file for awhile. I'm only focusing on the data serialization parts of the spec; at least for now, I'm not including any of the RPC stuff.
One of my main goals with this is for the compiler to be in pure C; I don't want to have to install the Java language bindings in order to run the schema compiler. This means that I can't use the Velocity engine to produce the output .c and .h files. Instead of trying to find a good C templating engine, I'm just using the trusty C preprocessor. It's not the prettiest thing in the world, but it's perfectly capable.
This issue will track my progress on this; I'll upload patches here, as well as maintain a branch at github.
Attachments
Attachments
Issue Links
- is related to
-
AVRO-2036 Avro fails to compile for C
- Open