[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: C with embedded Lua or Lua-only program?
- From: Silas Silva <silasdb@...>
- Date: Fri, 3 Sep 2010 12:44:23 -0300
On Fri, Sep 03, 2010 at 01:53:34PM +0200, steve donovan wrote:
> On Fri, Sep 3, 2010 at 1:40 PM, Stefan Behnel <firstname.lastname@example.org> wrote:
> > All somewhat recent graphical GUI designers use some kind of abstract GUI
> > description language, most often in XML.
I pointed out some problems of XML in my last responsde. I do not want
to start a flame war, though :-)
> Oh yes, we have learned about trusting the container to place things -
> it was a particular mindset with the old-style RAD tools.
> Glade is not too shabby in what it produces. But if you have a
> sufficiently expressive language (such as Lua) then why not use it as
> that format instead of XML? Especially if the resulting interface can
> be re-started practically instantly. (Lua in data-description mode,
> not in imperative mode, of course)
Yeah, with Lua or other simple DSL (other good example is Tk used inside
Tcl), the format will be simple and intuitive, and easy to know what is
happening in text-only mode.