agraef / pd-lua

Lua bindings for Pd, updated for Lua 5.3+
https://agraef.github.io/pd-lua/
GNU General Public License v2.0
47 stars 10 forks source link

load folder/object.pd_lua with same names #37

Closed sebshader closed 6 months ago

sebshader commented 6 months ago

tried porting directory/classname loading support from pd. needs testing 'legacy loader', pd < 0.47 not supported either

loading via pdluax will still use 'dofile' path resolution closes #36

agraef commented 6 months ago

Looks good to me, except for what appears to be whitespace-only changes in the last chunk (pdlua_setup), can you please try to fix that?

Also, this is a stylistic thing, but maybe you could replace the cascaded ifs with &&?

agraef commented 6 months ago

Never mind, I can always fix these in post. Looks like @ben-wes already tested this, so merging.