RE: [GD-General] A portable preferences library
Brought to you by:
vexxed72
From: Richard S. <Ric...@ei...> - 2003-12-05 12:55:49
|
Ivan-Assen said: > If you are really opposed to using XML - after all, why would=20 > a "simple" > preferences library need a big bad XML parser (answer: you'll=20 > likely need > an XML parser in the game anyway...), you can play the=20 > revolutionary by using YAML: >=20 > http://www.yaml.org Looks like an alternative, except currently there does not seem to be a C++ parser for it, or, perhaps more importantly[0], no support tools. Certainly churning out a language spec for SCite (or editor of choice) would be simple enough, but comparing this to the enormous resources available to the XML user leaves it with a long way to go. Which is fine by me as I'm 80% of the way through implementing a complex data and rule based system in C++ using XML as the interim data format and would hate to find a better alternative at this late stage :*) Rich [0] Only because non-validating parsers for this kind of language are not too hard to produce[1] [1] And indeed, to get game-quality optimisations, I'll have to write my own micro XML parser so we can stop using Xerces |