Mail Archives: geda-user/2015/02/06/13:55:16
On Feb 6, 2015, at 11:20 AM, Jason White <whitewaterssoftwareinfo AT gmail DOT com> wrote:
> On Fri, Feb 6, 2015 at 1:07 PM, Edward Hennessy <ehennes AT sbcglobal DOT net> wrote:
>>> On Feb 6, 2015, at 9:07 AM, John Doty <jpd AT noqsi DOT com> wrote:
>>>> On Feb 6, 2015, at 9:29 AM, Jason White <whitewaterssoftwareinfo AT gmail DOT com> wrote:
>>>>
>>>> For those who have not seen, I implemented an example program in C
>>>> using Lua to safely read data defined in Lua files.
>>>
>>> And that is of little use. The schematic and configuration files need to be trivially readable/writable by *any* language
>> <snip>
>> Additionally, it becomes more difficult to create a GUI to edit the data when the data uses a complex file format.
>>
>> I'd prefer simple configuration and data file formats and save the languages for extensions.
>
> What is more simple than name=value or name={value, value, value}? I
> do no see how that is any more difficult to parse than the current
> format.
Try writing a sscanf() format for it. Lots of tools easily handle records on lines with fixed numbers of fields separated by whitespace. But you have a more free-form grammar. Lisp S-expressions are even easier to parse, but they are still a significant barrier to tools other than Lisp.
>
> --
> Jason White
>
John Doty Noqsi Aerospace, Ltd.
http://www.noqsi.com/
jpd AT noqsi DOT com
- Raw text -