Re: Parsing JSON in C++

2020-06-24 Thread Han-Wen Nienhuys
Sure, go ahead. Op di 23 jun. 2020 23:35 schreef Owen Lamb : > There are just three files, so I'll go ahead and put them in flower/. > > One more minor thing--the files are .cpp and .h, which is a bit confusing > given they're not our standard extensions. Is it all right if I change the >

Re: Parsing JSON in C++

2020-06-23 Thread Owen Lamb
There are just three files, so I'll go ahead and put them in flower/. One more minor thing--the files are .cpp and .h, which is a bit confusing given they're not our standard extensions. Is it all right if I change the extensions to .cc and .hh to match the rest of the files? Thanks, Owen On

Re: Parsing JSON in C++

2020-06-23 Thread Han-Wen Nienhuys
On Tue, Jun 23, 2020 at 9:55 AM Jonas Hahnfeld via Discussions on LilyPond development wrote: > > Am Montag, den 22.06.2020, 16:44 -0700 schrieb Owen Lamb: > > Thanks, everyone! It looks like jsoncpp should work well for LilyPond. > > > > I don't have experience with adding files from one project

Re: Parsing JSON in C++

2020-06-23 Thread Jonas Hahnfeld via Discussions on LilyPond development
Am Montag, den 22.06.2020, 16:44 -0700 schrieb Owen Lamb: > Thanks, everyone! It looks like jsoncpp should work well for LilyPond. > > I don't have experience with adding files from one project to another. > Jonas, is this "Amalgamated" procedure what you were describing? >

Re: Parsing JSON in C++

2020-06-22 Thread Owen Lamb
Thanks, everyone! It looks like jsoncpp should work well for LilyPond. I don't have experience with adding files from one project to another. Jonas, is this "Amalgamated" procedure what you were describing? https://github.com/open-source-parsers/jsoncpp/wiki/Amalgamated-(Possibly-outdated) If

Re: Parsing JSON in C++

2020-06-20 Thread Noeck
>> 1. LilyPond already seems to use some parts of the BOOST library (which >> is kind of the extended C++ STL). > > Not that I know of. > You're right. I just quickly skimmed through a grep and found this: https://github.com/lilypond/lilypond/blob/master/flower/include/yaffut.hh#L2 or a

Re: Parsing JSON in C++

2020-06-20 Thread David Kastrup
Noeck writes: >> in C++ I worked with property_trees from BOOST (under the BOOST license): >> >> https://www.boost.org/doc/libs/1_73_0/doc/html/property_tree.html > > Two more remarks: > > 1. LilyPond already seems to use some parts of the BOOST library (which > is kind of the extended C++ STL).

Re: Parsing JSON in C++

2020-06-20 Thread Noeck
> in C++ I worked with property_trees from BOOST (under the BOOST license): > > https://www.boost.org/doc/libs/1_73_0/doc/html/property_tree.html Two more remarks: 1. LilyPond already seems to use some parts of the BOOST library (which is kind of the extended C++ STL). There should be no license

Re: Parsing JSON in C++

2020-06-20 Thread Han-Wen Nienhuys
On Sat, Jun 20, 2020 at 11:00 AM Jonas Hahnfeld wrote: > > Am Samstag, den 20.06.2020, 10:52 +0200 schrieb Han-Wen Nienhuys: > > On Sat, Jun 20, 2020 at 1:30 AM Owen Lamb wrote: > > > Hi all, > > > > > > I need to be able to expose the contents of a SMuFL font's JSON metadata > > > file to

Re: Parsing JSON in C++

2020-06-20 Thread Jonas Hahnfeld via Discussions on LilyPond development
Am Samstag, den 20.06.2020, 10:52 +0200 schrieb Han-Wen Nienhuys: > On Sat, Jun 20, 2020 at 1:30 AM Owen Lamb wrote: > > Hi all, > > > > I need to be able to expose the contents of a SMuFL font's JSON metadata > > file to LilyPond. From what I can tell, LilyPond currently doesn't have any > >

Re: Parsing JSON in C++

2020-06-20 Thread Han-Wen Nienhuys
On Sat, Jun 20, 2020 at 1:30 AM Owen Lamb wrote: > > Hi all, > > I need to be able to expose the contents of a SMuFL font's JSON metadata > file to LilyPond. From what I can tell, LilyPond currently doesn't have any > sort of JSON-parsing library in its dependencies, either in Scheme or in > C++.

Re: Parsing JSON in C++

2020-06-20 Thread Marco Atzeri
On 20.06.2020 01:30, Owen Lamb wrote: Hi all, I need to be able to expose the contents of a SMuFL font's JSON metadata file to LilyPond. From what I can tell, LilyPond currently doesn't have any sort of JSON-parsing library in its dependencies, either in Scheme or in C++. An internet search

Re: Parsing JSON in C++

2020-06-19 Thread Noeck
Hi, in C++ I worked with property_trees from BOOST (under the BOOST license): https://www.boost.org/doc/libs/1_73_0/doc/html/property_tree.html Cheers, Joram

Re: Parsing JSON in C++

2020-06-19 Thread Carl Sorensen
guile-json is not a GNU project, but it is hosted on Savannah. It has a release in May 2020, and is licensed by GPL3.0. This sounds very compatible, but I don't know that it's the best. Carl On 6/19/20, 5:30 PM, "lilypond-devel on behalf of Owen Lamb" wrote: Hi all, I need to be able to

Parsing JSON in C++

2020-06-19 Thread Owen Lamb
Hi all, I need to be able to expose the contents of a SMuFL font's JSON metadata file to LilyPond. From what I can tell, LilyPond currently doesn't have any sort of JSON-parsing library in its dependencies, either in Scheme or in C++. An internet search revealed that there are... a *lot* of