Programming and Scripting :: about flua and lua?



In dsl there are some scripts executed by flua.

Being an extension language, Lua has no notion of a "main" program: it only works embedded in a host client, called the embedding program or simply the host.

how get the flua from lua?
i am confused by some lines in flua script.
for example:
    w = Window(........), how draw a window in X window(i replace the Xvesa using X window)?

thanks!

If this helps, Lua-FLTK (flua) isn't really Lua. It's a binding of FLTK widgets to the Lua language.  I'm not sure how much Lua is actually in it...could be all, or could just be parts....i dunno.

But in hopes of answering your question (i'm not really sure what you're asking), "Window{...}" is built into flua.  It's one of the many FLTK widgets, and is not affected by whether you are using Xvesa or Xfree86.


original here.