[patch for 34031] first part of Tcl/Tk for parrot

Will Coleda will at coleda.com
Thu Dec 18 18:23:36 UTC 2008


Full disclosure: I am also on the grants committee; however, these
notes are from a parrot/partcl perspective.

On Wed, Dec 17, 2008 at 11:26 PM, Vadim Konovalov <vadrer at gmail.com> wrote:
> Hi,
>
> attached is my first attempt for the Tcl/Tk binding, which in turn will bring
> Tk interface for parrot.
> The file Tcl.pir should go into the ./runtime/parrot/library/ directory
>
> I am planning to make more subsequent patches on the matter, so I will
> appreciate if this first part will be considered for inclusion.

Running it directly fails for me with:

 Could not find a suitable tcl shared library!

Despite the fact that I have tclsh8.4 installed in /usr/bin (which
depends on /usr/lib/libtcl8.4.so.0)

A few nits that I think need resolution before this would get into core:

* The top level 'Tcl' namespace has long been used by partcl; It would
be nice if you could pick another top level namespace; perhaps
TclLibrary ?
* Code in "library/" shouldn't have a :main sub; if you'd like to
create an example/ to exercise the library that would be great, which
leads to:
* Needs tests.

> Also, a typo.

That file no longer exists.

-- 
Will "Coke" Coleda


More information about the parrot-dev mailing list