Perhaps this may be good enough: https://github.com/JuliaLang/IniFile.jl/
-viral On Sunday, July 27, 2014 6:08:37 PM UTC+5:30, Oliver Pewter wrote: > > Good afternoon, > I've built a tool that does various modelling dependent on a handful of > parameters that may vary from user to user. I would therefore like to allow > users to have a 'config' file that with some basic settings. These inputs > are non-rectangular data, so CSV is out, at least if I want the processing > to be convenient. To give you an idea, it would be several tuples, each > with a series of strings and a series of floats or vectors. Then some > general settings (name and float for each). And sometimes I might need to > nest those tuples. > > I have thought about YAML, JSON, serialised Julia objects in a file or > straight up Julia code. While the user is expected to understand Julia > code, I thought it might be more user friendly to have something without > syntax all around. JSON looks especially alluring since it allows for > convenient nesting. Also the existence of GUIs is quite convenient. > > So the question is — what do you use or what is the prescribed format for > this, if there is one. > > Thank you, > > Oli >
