DQuick a GUI Library (prototype)

Jacob Carlborg doob at me.com
Wed Aug 21 08:10:04 PDT 2013


On 2013-08-21 13:42, Jacob Carlborg wrote:

> This is a complete example:
>
> http://pastebin.com/2C4Z2wFR
>
> Which will print this:
>
> http://pastebin.com/Tj1vVHsF
>
> If we look at the code above, evertyrthing below the "main" function
> would be in a separate module, "dquick.dls" for example. The string
> "code" contains the D script, corresponding to the Lua code. That would
> be in its own file, imported using:
>
> import("filename.d");
>
> The tool currently executing the Lua code would instead generate a new
> file with the "main" and "executeScript" functions as above. Then it
> will proceed as I described in my previous post.

Although I don't know what to do about the delegates. They can't be 
serialized.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list