Re: [PD] [PD-announce] pdlua and tclpd: now embedded in Pd-extended 0.43

2012-02-27 Thread João Pais
I'm thinking about using lua to build an interpreter for my Click Tracker  
(http://code.google.com/p/clicktracker/), so it's great that this is  
working. Can you recomend any good lua tutorial? That would be a good  
resource to have in the documentation, I guess (same goes for a tcl  
tutorial).



There are two new, easy ways to write objects for Pd: tclpd by Federico  
Ferri and pdlua by Claude Heiland-Allen, Frank Barknecht and Martin  
Peach.  Both are now included in Pd-extended 0.43 and are automatically  
loaded at startup.  That means you can write a script in Lua or Tcl and  
have that script be a true object in Pd.  Both pdlua and tclpd provide  
the large majority of the Pd externals API, and you can even write GUI  
objects using tclpd.


Tcl and Lua both excel at handling strings, one thing that Pd is not the  
best at, so if you have a project that needs to parse or manage a lot of  
strings, then you have a new approach.


There are some other ways of using other languages to write objects for  
Pd: pyext for Python and pdj for Java.  These two are different in a key  
way than pdlua and tclpd.  pyext and pdj allow you to load scripts into  
an object called [pyext] or [pdj].   tclpd and pdlua let you create full  
Pd objects that are completely transparent to the user.  You create an  
object written in tclpd or pdlua just like any other Pd object, and  
those objects can have their own help patch too.


Both pdlua and tclpd come with a lot of examples, go to the Help Browser  
and find them in the list of libraries there.  I also started writing  
the 'tclfile' library to bring the Tcl file API to Pd:


http://puredata.info/downloads/tclfile

.hc
___
Pd-announce mailing list
pd-annou...@iem.at
http://lists.puredata.info/listinfo/pd-announce

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -  
http://lists.puredata.info/listinfo/pd-list



--
Friedenstr. 58
10249 Berlin (Deutschland)
Tel +49 30 42020091 | Mob +49 162 6843570
Studio +49 30 69509190
jmmmp...@googlemail.com | skype: jmmmpjmmmp

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] [PD-announce] pdlua and tclpd: now embedded in Pd-extended 0.43

2012-02-27 Thread Roman Haefeli
On Sun, 2012-02-26 at 20:15 -0500, Hans-Christoph Steiner wrote:
 There are two new, easy ways to write objects for Pd: tclpd by Federico Ferri 
 and pdlua by Claude Heiland-Allen, Frank Barknecht and Martin Peach.  Both 
 are now included in Pd-extended 0.43 and are automatically loaded at startup. 
  That means you can write a script in Lua or Tcl and have that script be a 
 true object in Pd.  Both pdlua and tclpd provide the large majority of the Pd 
 externals API, and you can even write GUI objects using tclpd.

That's nice! Many thanks to everyone involved.

Roman



___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] [PD-announce] pdlua and tclpd: now embedded in Pd-extended 0.43

2012-02-27 Thread Frank Barknecht
On Mon, Feb 27, 2012 at 12:54:23PM +0100, João Pais wrote:
 I'm thinking about using lua to build an interpreter for my Click Tracker 
 (http://code.google.com/p/clicktracker/), so it's great that this is  
 working. Can you recomend any good lua tutorial? 

Take the blue PIL! http://www.lua.org/pil/

For starters the online 1st edition is fine, but I still recommend to buy the
second edition: The PIL is one of the best books on programming in general in
my opinion, and you will probably learn a lot that you can use in other
languages as well.

Ciao
-- 
 Frank BarknechtDo You RjDj.me?  _ __footils.org__

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] [PD-announce] pdlua and tclpd: now embedded in Pd-extended 0.43

2012-02-27 Thread András Murányi
On Mon, Feb 27, 2012 at 02:15, Hans-Christoph Steiner h...@at.or.at wrote:


 There are two new, easy ways to write objects for Pd: tclpd by Federico
 Ferri and pdlua by Claude Heiland-Allen, Frank Barknecht and Martin Peach.
  Both are now included in Pd-extended 0.43 and are automatically loaded at
 startup. [...]


I was so excited to try tclpd, that even though pd 0.43 happens not to work
under my user account, I gave it a go under another account. Let me share
my not so merry experience, and sorry if it goes beyond tclpd itself.

So this a user account that never ran pd-extended, although it (latest
autobuild) is already installed on the machine (Ubuntu Lucid).

I start a new patch and try to create [tclpd], i get this error:

maximum object loading depth 1000 reached
 tclpd
... couldn't create

I quit so I can add tclpd to the preferences file, but I find there is no
.pdextended file.

I go to preferences, it lets me add the path to tclpd, I click Apply, OK.
As we, the well-connected know it now, this has no practical effect -
except that it seems that on quit, a new default .pdextended is created -
with no reference to tclpd however.

I open .pdextended in a text editor and add tclpd to the only list there
is: 'loadlib'.

I go back to pd, [tclpd] still won't create.

Back to text editor, copy-paste 'path' section of another user's
.pdextended into this one, add tclpd.

Back to pd, [tclpd] still won't create.


This is where I am now.
Please tell me if I'm doing anything wrong and/or if I shall file any of
this as a bug.


Thanks,

András
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] [PD-announce] pdlua and tclpd: now embedded in Pd-extended 0.43

2012-02-27 Thread m.e.grimm
 pdlua and tclpd.

clll..

  Pd: pyext for Python

any chance for this in extended? there was some issue on the list
about this a while ago no? but i have forgot. unless im just having a
flashback.

m

On Sun, Feb 26, 2012 at 8:15 PM, Hans-Christoph Steiner h...@at.or.at wrote:

 There are two new, easy ways to write objects for Pd: tclpd by Federico Ferri 
 and pdlua by Claude Heiland-Allen, Frank Barknecht and Martin Peach.  Both 
 are now included in Pd-extended 0.43 and are automatically loaded at startup. 
  That means you can write a script in Lua or Tcl and have that script be a 
 true object in Pd.  Both pdlua and tclpd provide the large majority of the Pd 
 externals API, and you can even write GUI objects using tclpd.

 Tcl and Lua both excel at handling strings, one thing that Pd is not the best 
 at, so if you have a project that needs to parse or manage a lot of strings, 
 then you have a new approach.

 There are some other ways of using other languages to write objects for Pd: 
 pyext for Python and pdj for Java.  These two are different in a key way than 
 pdlua and tclpd.  pyext and pdj allow you to load scripts into an object 
 called [pyext] or [pdj].   tclpd and pdlua let you create full Pd objects 
 that are completely transparent to the user.  You create an object written in 
 tclpd or pdlua just like any other Pd object, and those objects can have 
 their own help patch too.

 Both pdlua and tclpd come with a lot of examples, go to the Help Browser and 
 find them in the list of libraries there.  I also started writing the 
 'tclfile' library to bring the Tcl file API to Pd:

 http://puredata.info/downloads/tclfile

 .hc
 ___
 Pd-announce mailing list
 pd-annou...@iem.at
 http://lists.puredata.info/listinfo/pd-announce

 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management - 
 http://lists.puredata.info/listinfo/pd-list



-- 

m.e.grimm | m.f.a | ed.m.
megr...@gmail.com
_

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] [PD-announce] pdlua and tclpd: now embedded in Pd-extended 0.43

2012-02-27 Thread Hans-Christoph Steiner
On Mon, Feb 27, 2012, at 16:07, m.e.grimm wrote:
  pdlua and tclpd.
 
 clll..
 
   Pd: pyext for Python
 
 any chance for this in extended? there was some issue on the list
 about this a while ago no? but i have forgot. unless im just having a
 flashback.

So far, no one ever wanted to get flext building everywhere.  Its just a
matter of someone doing the work:

http://puredata.info/docs/developer/GettingIntoPdextended

.hc

 On Sun, Feb 26, 2012 at 8:15 PM, Hans-Christoph Steiner h...@at.or.at
 wrote:
 
  There are two new, easy ways to write objects for Pd: tclpd by Federico 
  Ferri and pdlua by Claude Heiland-Allen, Frank Barknecht and Martin Peach.  
  Both are now included in Pd-extended 0.43 and are automatically loaded at 
  startup.  That means you can write a script in Lua or Tcl and have that 
  script be a true object in Pd.  Both pdlua and tclpd provide the large 
  majority of the Pd externals API, and you can even write GUI objects using 
  tclpd.
 
  Tcl and Lua both excel at handling strings, one thing that Pd is not the 
  best at, so if you have a project that needs to parse or manage a lot of 
  strings, then you have a new approach.
 
  There are some other ways of using other languages to write objects for Pd: 
  pyext for Python and pdj for Java.  These two are different in a key way 
  than pdlua and tclpd.  pyext and pdj allow you to load scripts into an 
  object called [pyext] or [pdj].   tclpd and pdlua let you create full Pd 
  objects that are completely transparent to the user.  You create an object 
  written in tclpd or pdlua just like any other Pd object, and those objects 
  can have their own help patch too.
 
  Both pdlua and tclpd come with a lot of examples, go to the Help Browser 
  and find them in the list of libraries there.  I also started writing the 
  'tclfile' library to bring the Tcl file API to Pd:
 
  http://puredata.info/downloads/tclfile
 
  .hc
  ___
  Pd-announce mailing list
  pd-annou...@iem.at
  http://lists.puredata.info/listinfo/pd-announce
 
  ___
  Pd-list@iem.at mailing list
  UNSUBSCRIBE and account-management - 
  http://lists.puredata.info/listinfo/pd-list
 
 
 
 -- 
 
 m.e.grimm | m.f.a | ed.m.
 megr...@gmail.com
 _
 
 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management -
 http://lists.puredata.info/listinfo/pd-list
 

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] [PD-announce] pdlua and tclpd: now embedded in Pd-extended 0.43

2012-02-26 Thread Hans-Christoph Steiner

There are two new, easy ways to write objects for Pd: tclpd by Federico Ferri 
and pdlua by Claude Heiland-Allen, Frank Barknecht and Martin Peach.  Both are 
now included in Pd-extended 0.43 and are automatically loaded at startup.  That 
means you can write a script in Lua or Tcl and have that script be a true 
object in Pd.  Both pdlua and tclpd provide the large majority of the Pd 
externals API, and you can even write GUI objects using tclpd.

Tcl and Lua both excel at handling strings, one thing that Pd is not the best 
at, so if you have a project that needs to parse or manage a lot of strings, 
then you have a new approach.

There are some other ways of using other languages to write objects for Pd: 
pyext for Python and pdj for Java.  These two are different in a key way than 
pdlua and tclpd.  pyext and pdj allow you to load scripts into an object called 
[pyext] or [pdj].   tclpd and pdlua let you create full Pd objects that are 
completely transparent to the user.  You create an object written in tclpd or 
pdlua just like any other Pd object, and those objects can have their own help 
patch too.

Both pdlua and tclpd come with a lot of examples, go to the Help Browser and 
find them in the list of libraries there.  I also started writing the 'tclfile' 
library to bring the Tcl file API to Pd:

http://puredata.info/downloads/tclfile

.hc
___
Pd-announce mailing list
pd-annou...@iem.at
http://lists.puredata.info/listinfo/pd-announce

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list