Hi all,
I'm wondering what would be the "right" way to generates code/classes at
runtime, and reload it into the running program.
I thought to use the modules/plugin approach
(http://live.gnome.org/Vala/TypeModules) the following way :
- generate code than can be reloaded (plugin code, [ModuleInit]) using some
kind of StringBuilder
- flush it to a file
- compile this file either by forking a valac compiler or perhaps using
directly libvala (possible ?)
- reload the resulting plugin binary into the app
There's probably a better way to accomplish this kind of task.
Any idea / suggestion ?
Thanks for helping :)
_______________________________________________
Vala-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/vala-list