Configuration-Reader

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
Nowis
Prole
Posts: 2
Joined: Mon Feb 22, 2010 2:04 pm

Configuration-Reader

Post by Nowis »

Hi there,

I'm new on this forum, so let me short introduce myself:

My Name is Simon
I'm from Germany
I'm 19 years young ;)

So, now this is not a question, i'ts more an suggestion.

I've seen all the beautyful libraries that are made for LÖVE and also LUA.
Is there any library in work that can read any Config-Files, e.g. ini/cfg, xml, ...?

Wouldn't it be very useful to have an reader for the games we made with love?


Simon
LÖVE is in the air
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: Configuration-Reader

Post by Robin »

Welcome!

xml is a tough nut to crack. We're discussing it on IRC just now, as it happens.

On other config formats: why not use Lua? It was, after all, originally a configuration language, and much more powerful than ini, cfg or xml.
Help us help you: attach a .love.
Nowis
Prole
Posts: 2
Joined: Mon Feb 22, 2010 2:04 pm

Re: Configuration-Reader

Post by Nowis »

Hi Robin,

you were right, i didn't think about that feature ...

But it's also not so hard to write an Reader for XML
(I know, there are some special things with single tabs, comments, etc. ...)
I write one myself with the Parser of the Lua site, but I added Getter and Setter
and a Print/Write Function ...


Simon
LÖVE is in the air
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests