Frank Barknecht wrote:
Hi Claude and list,
I'm thinking if a custom file extension for pdlua classes would make sense? Currently pdlua loads all *.lua files, which complicates working with *.lua modules not intended to be used as pd classes: Those would have to be in a directory outside of Pd's search path to not pollute Pd's namespace.
Ah, true.
So my suggestion would be to use something like *.pd_lua, *.pdlua or *.l_lua as extension. What do you think? The same question may become an issue for other loaders as well, so a standard solution would be nice.
Ok, expect this change in the next release (sometime in March). I'm leaning towards *.pd_lua personally, to match *.pd_linux and *.pd_darwin, but if anyone has strong objections let me know.