[PD] *.lua => *.pd_lua or *.l_lua?

Claude Heiland-Allen claudiusmaximus at goto10.org
Mon Feb 11 19:27:28 CET 2008


(())_n wrote:
> I like *.lua because editors recognize them as lua and are able to  
> parse the magic.

You should be able to manually choose a highlight mode in any decent 
editor, regardless of extension, and some you should be able to add a 
default mode for extra extensions.

It would be confusing if .pd files were called .txt, I think....

 > What I was having problems with pdlua is that I have
> to restart PD whenever I change my script.

Try the [luax scriptname argument1 argument2 a b 1 2] object.  That 
reloads the script on each object creation, but the scripts have to have 
a slightly different format.


Claude
-- 
http://claudiusmaximus.goto10.org




More information about the Pd-list mailing list