05-27-2008, 02:13 AM
Hello,
I wrote a new tool in plain Lua to convert FLUID project files into murgaLua scripts, because the two existing tools convertFluidToMurgaLua and fluid parser were too limited for what I trying to do.
This new tool supports virtually all features of FLUID (classes, widget classes, menus, inline callbacks, internationalization …) and tries to keep the generated code readable.
In the attachment are the Lua generator script and a documentation file in HTML. There are surely a number of remaining bugs, although I already tested with a number of FLUID files. Please let me know.
I wrote a new tool in plain Lua to convert FLUID project files into murgaLua scripts, because the two existing tools convertFluidToMurgaLua and fluid parser were too limited for what I trying to do.
This new tool supports virtually all features of FLUID (classes, widget classes, menus, inline callbacks, internationalization …) and tries to keep the generated code readable.
In the attachment are the Lua generator script and a documentation file in HTML. There are surely a number of remaining bugs, although I already tested with a number of FLUID files. Please let me know.