the t_atom - Tcl_Obj converasion happens in tcl_class.c
using the pdatom_to_tcl function (defined in tcl_typemap.c)
since pd has only one numeric type (float), the conversion is as follows:
switch (input-a_type) {
[...]
case A_FLOAT: {
tcl_t_atom[0] = Tcl_NewStringObj(float, -1);
I'm interpretting lists as filenames with spaces in it. Its a hack, I know,
but it works well for the most part. So something like:
[this contains 20 rows.csv(
Would give me this contains 20.0 rows.csv in tclpd. Perhaps just the proc
pd::strip_selectors could do the %g formatting. That's
Just playing around with tclpd, pd::strip_selector makes working with the lists
nice and easy in Tcl. One thing though: floats are rendered with trailing
zeros, so [float 1( is rendered as {float 1.0} in tclpd. tclpd should really
use [format %g $arg] to format the floats so that they are