Return-Path: Delivered-To: apmail-avro-dev-archive@www.apache.org Received: (qmail 87647 invoked from network); 9 Mar 2011 15:11:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 9 Mar 2011 15:11:21 -0000 Received: (qmail 30983 invoked by uid 500); 9 Mar 2011 15:11:21 -0000 Delivered-To: apmail-avro-dev-archive@avro.apache.org Received: (qmail 30946 invoked by uid 500); 9 Mar 2011 15:11:21 -0000 Mailing-List: contact dev-help@avro.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@avro.apache.org Delivered-To: mailing list dev@avro.apache.org Received: (qmail 30938 invoked by uid 99); 9 Mar 2011 15:11:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Mar 2011 15:11:21 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Mar 2011 15:11:20 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 6929F3A06E8 for ; Wed, 9 Mar 2011 15:10:59 +0000 (UTC) Date: Wed, 9 Mar 2011 15:10:59 +0000 (UTC) From: "Douglas Creager (JIRA)" To: dev@avro.apache.org Message-ID: <409545295.8128.1299683459427.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Created: (AVRO-778) C: avrocc schema-specific compiler MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 C: avrocc schema-specific compiler ---------------------------------- Key: AVRO-778 URL: https://issues.apache.org/jira/browse/AVRO-778 Project: Avro Issue Type: New Feature Reporter: Douglas Creager Assignee: Douglas Creager 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|https://github.com/dcreager/avro/tree/specific]. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira