Hallo, [EMAIL PROTECTED] hat gesagt: // [EMAIL PROTECTED] wrote: > using the great pdlua extension it is easy to create object(classe)s in lua. > however, the class is registered on loading and then kept in memory of pd. > > for rapid prototyping it would sometimes be nice to be able to do a > "volatile" load (just like abstractions) of an object: so when i > change the code and re-instantiate the object, i will get a new version.
pyext has this, but AFAIK it isn't using the loader functionality when used as [pyext ...]. I agree that some way to reload is very handy, especially when one is still learning Lua and pdlua. Also the need to restart Pd makes working with a scripting language not much faster than working with C directly. Maybe it can be done inside Lua, though, using the dofile/loadfile functions. But I don't know Lua enough yet. Still, attached are my first three lua externals. ;) Ciao -- Frank Barknecht _ ______footils.org_ __goto10.org__
foolua.tgz
Description: GNU Unix tar archive
_______________________________________________ PD-dev mailing list [email protected] http://lists.puredata.info/listinfo/pd-dev
