Re: [PD] Pd and SQL

2014-07-19 Thread IOhannes m zmölnig via Pd-list
On 07/16/2014 02:23 PM, Martin Peach via Pd-list wrote: given that the template/Makefile has been the way to go for some time now, would you consider adding/switching? I thought it _was_ following the template. There is a makefile in pdlua/src. I'm not sure what to add to it to make it

Re: [PD] Pd and SQL

2014-07-16 Thread Martin Peach via Pd-list
On 2014-07-15 12:31, via Pd-list wrote: Quoting Martin Peach via Pd-list pd-list@lists.iem.at: On 2014-07-13 11:30, Claude Heiland-Allen via Pd-list wrote: Right. I didn't fancy getting the whole externals tree, just the part I wanted (pdlua) and there wasn't any way to build it locally.

Re: [PD] Pd and SQL

2014-07-15 Thread via Pd-list
Quoting Martin Peach via Pd-list pd-list@lists.iem.at: On 2014-07-13 11:30, Claude Heiland-Allen via Pd-list wrote: Right. I didn't fancy getting the whole externals tree, just the part I wanted (pdlua) and there wasn't any way to build it locally. You just need the makefile that is in

Re: [PD] Pd and SQL

2014-07-13 Thread Claude Heiland-Allen via Pd-list
On 13/07/14 11:11, Jack via Pd-list wrote: and used the code below to create a file 'mysql.pd_lua'. But when i tried to create [mysql] object in Pd, i got in the pd console : maximum object loading depth 1000 reached mysql ... couldn't create Did I miss something ? local M =

Re: [PD] Pd and SQL

2014-07-13 Thread Jack via Pd-list
I forgot : Pd 0.45.0test 2 pdlua 0.7.2 (GPL) 2014 Martin Peach, based on lua 0.6~svn (GPL) 2008 Claude Heiland-Allen claudiusmaxi...@goto10.org pdlua: compiled for pd-0.43 on Jul 13 2014 11:47:47 Using lua version 5.2 ++ Jack Le 13/07/2014 12:59, Claude Heiland-Allen via Pd-list a écrit : On

Re: [PD] Pd and SQL

2014-07-13 Thread Martin Peach via Pd-list
On 2014-07-13 11:01, Claude Heiland-Allen via Pd-list wrote: On 13/07/14 15:56, Martin Peach wrote: On 2014-07-13 06:59, Claude Heiland-Allen via Pd-list wrote: $ pd -version Pd-0.45.5 () compiled 18:50:42 Jun 18 2014 lua 0.8 (GPL) 2013 Claude Heiland-Allen, merging pdlua 0.7.1 (GPL) 2011

Re: [PD] Pd and SQL

2014-07-13 Thread Claude Heiland-Allen via Pd-list
On 13/07/14 16:15, Martin Peach wrote: On 2014-07-13 11:01, Claude Heiland-Allen via Pd-list wrote: On 13/07/14 15:56, Martin Peach wrote: On 2014-07-13 06:59, Claude Heiland-Allen via Pd-list wrote: $ pd -version Pd-0.45.5 () compiled 18:50:42 Jun 18 2014 lua 0.8 (GPL) 2013 Claude

Re: [PD] Pd and SQL

2014-06-23 Thread patrice colet via Pd-list
it still works if luasql.sqlite is replaced by luasql.sqlite3 like following lsql.pd_lua code: :) -- SQL example for pdlua -- Written by Frank Barknecht in 2007, use however you like. -- load driver require luasql.sqlite3 local M = pd.Class:new():register(lsql) function M:initialize(name)

[PD] Pd and SQL

2014-06-19 Thread Roman Haefeli via Pd-list
Hi The few times I had to interface Pd with MySQL, I decided to use [shell] and cobbled together some queries sent to mysql command. While I think that is probably not the most elegant approach, I'd like to ask the community how you dealt with Pd and MySQL, or SQL in general, or even Databases