Why not a simple JSON file?

It's utter simple to parse.

Esteban A. Maringolo


2013/11/28 Göran Krampe <go...@krampe.se>

> Hi!
>
>
> On 11/28/2013 02:39 PM, Damien Cassou wrote:
>
>> Hi,
>>
>> I'm looking for a library to parse configuration files. I have no
>> configuration format yet so I'm open. I was thinking of a typical INI
>> format:
>>
>> [section1]
>> param1=value1
>> param2=value2
>>
>> [section2]
>> param1=value3
>> ...
>>
>
> In Gjallar we used the ini format and it often works just fine for
> "settings". :)
>
> But just to throw in something from the sideline, Tirade is also quite
> nifty:
>
> "Section 1"
> param1: 'value1'.
> param2: 123.
>
> "Section 2"
> blabla: $a.
>
>
> ...as you can see it is "just Smalltalk messages". One disadvantage of
> Tirade
> would be that you need to remember the "." at the end of each message.
>
> An advantage is that you don't need to "parse it", you just implement the
> messages in some class and then you can use the the reader in Tirade to
> just "feed" those messages to that object.
>
> More info: http://goran.krampe.se/category/tirade/
>
> regards, Göran
>
>
>
>

Reply via email to