[gmx-developers] automatic xml to C++ conversion

Mark Abraham mark.j.abraham at gmail.com
Tue Nov 26 22:01:13 CET 2013

Sounds worthwhile to me. One of the advantages of Google's protocol buffers
(which I suggested a while back as a possible .mdp/.tpr replacement) is
that such glue code could be generated. Only needing to write code in "the
language of the schema" sounds like a big drawcard.

Side point to previous discussions - schemas make it possible for tools to
help you write the XML if you're unfortunate enough to have to do so.


On Tue, Nov 26, 2013 at 9:38 PM, David van der Spoel
<spoel at xray.bmc.uu.se>wrote:

> Thinking a bit more about the XML problem I started googling.
> There are a number of packages that take an XML file or a schema file
> and generate C++ code for reading and writing that schema. This would
> reduce the problem to generating the schema, and making code that actually
> uses the generated code. The nitty gritties will henceforth be done by an
> external program but a serious amount of work remains.
> Is this something worth considering?
> License issues as well as library dependencies may ensue.
> Cheers,
> --
> David van der Spoel, Ph.D., Professor of Biology
> Dept. of Cell & Molec. Biol., Uppsala University.
> Box 596, 75124 Uppsala, Sweden. Phone:  +46184714205.
> spoel at xray.bmc.uu.se    http://folding.bmc.uu.se
> --
> Gromacs Developers mailing list
> * Please search the archive at http://www.gromacs.org/
> Support/Mailing_Lists/GMX-developers_List before posting!
> * Can't post? Read http://www.gromacs.org/Support/Mailing_Lists
> * For (un)subscribe requests visit
> https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-developersor send a mail to
> gmx-developers-request at gromacs.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://maillist.sys.kth.se/pipermail/gromacs.org_gmx-developers/attachments/20131126/5c0520bf/attachment.html>

More information about the gromacs.org_gmx-developers mailing list