You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by Shaun Williams <sh...@apple.com> on 2012/01/19 23:00:55 UTC

Parsing json schemas for c++

Can someone tell me why lex/yacc are used to parse json schemas instead of just using a json parser?  It seems someone already wrote a json parser which is used in for validating schemas.   

Thanks,

Sahun

Re: Parsing json schemas for c++

Posted by Shaun Williams <sh...@apple.com>.
Great, I'll take a look at it, thanks!

On Jan 19, 2012, at 6:51 PM, Thiruvalluvan M G wrote:

> Shaun,
> 
> I've submitted a patch that replaces flex/bison. But didn't commit it.
> https://issues.apache.org/jira/browse/AVRO-956.
> 
> In fact I have a follow up patch that allows the code to be compiled with
> Visual Studio.
> 
> Will work on both soon.
> 
> Thanks
> 
> Thiru
> 
> -----Original Message-----
> From: Shaun Williams [mailto:shaun_williams@apple.com] 
> Sent: Friday, January 20, 2012 3:31 AM
> To: dev@avro.apache.org
> Subject: Parsing json schemas for c++
> 
> Can someone tell me why lex/yacc are used to parse json schemas instead of
> just using a json parser?  It seems someone already wrote a json parser
> which is used in for validating schemas.   
> 
> Thanks,
> 
> Sahun
> 


RE: Parsing json schemas for c++

Posted by Thiruvalluvan M G <th...@yahoo.com>.
Shaun,

I'll commit within a day. I'm sorry for such a long delay.

Thanks

Thiru

-----Original Message-----
From: Shaun Williams [mailto:shaun_williams@apple.com] 
Sent: Wednesday, February 01, 2012 11:42 PM
To: dev@avro.apache.org
Subject: Re: Parsing json schemas for c++

Thiru,

Do you have an idea when you might be committing these changes?  I'm most
concerned with AVRO-956 at the moment.

Thanks,

-Shaun

On Jan 19, 2012, at 6:51 PM, Thiruvalluvan M G wrote:

> Shaun,
> 
> I've submitted a patch that replaces flex/bison. But didn't commit it.
> https://issues.apache.org/jira/browse/AVRO-956.
> 
> In fact I have a follow up patch that allows the code to be compiled with
> Visual Studio.
> 
> Will work on both soon.
> 
> Thanks
> 
> Thiru
> 
> -----Original Message-----
> From: Shaun Williams [mailto:shaun_williams@apple.com] 
> Sent: Friday, January 20, 2012 3:31 AM
> To: dev@avro.apache.org
> Subject: Parsing json schemas for c++
> 
> Can someone tell me why lex/yacc are used to parse json schemas instead of
> just using a json parser?  It seems someone already wrote a json parser
> which is used in for validating schemas.   
> 
> Thanks,
> 
> Sahun
> 


Re: Parsing json schemas for c++

Posted by Shaun Williams <sh...@apple.com>.
Thiru,

Do you have an idea when you might be committing these changes?  I'm most concerned with AVRO-956 at the moment.

Thanks,

-Shaun

On Jan 19, 2012, at 6:51 PM, Thiruvalluvan M G wrote:

> Shaun,
> 
> I've submitted a patch that replaces flex/bison. But didn't commit it.
> https://issues.apache.org/jira/browse/AVRO-956.
> 
> In fact I have a follow up patch that allows the code to be compiled with
> Visual Studio.
> 
> Will work on both soon.
> 
> Thanks
> 
> Thiru
> 
> -----Original Message-----
> From: Shaun Williams [mailto:shaun_williams@apple.com] 
> Sent: Friday, January 20, 2012 3:31 AM
> To: dev@avro.apache.org
> Subject: Parsing json schemas for c++
> 
> Can someone tell me why lex/yacc are used to parse json schemas instead of
> just using a json parser?  It seems someone already wrote a json parser
> which is used in for validating schemas.   
> 
> Thanks,
> 
> Sahun
> 


RE: Parsing json schemas for c++

Posted by Thiruvalluvan M G <th...@yahoo.com>.
Shaun,

I've submitted a patch that replaces flex/bison. But didn't commit it.
https://issues.apache.org/jira/browse/AVRO-956.

In fact I have a follow up patch that allows the code to be compiled with
Visual Studio.

Will work on both soon.

Thanks

Thiru

-----Original Message-----
From: Shaun Williams [mailto:shaun_williams@apple.com] 
Sent: Friday, January 20, 2012 3:31 AM
To: dev@avro.apache.org
Subject: Parsing json schemas for c++

Can someone tell me why lex/yacc are used to parse json schemas instead of
just using a json parser?  It seems someone already wrote a json parser
which is used in for validating schemas.   

Thanks,

Sahun