[m-dev.] Patch: Tcl/Tk interface without '%' prompt

Julien Fischer juliensf at csse.unimelb.edu.au
Wed Jan 17 20:45:08 AEDT 2007


On Wed, 17 Jan 2007, Jonathan Morgan wrote:

> On 1/17/07, Jörg Roman Rudnick <joerg.rudnick at t-online.de> wrote:
>> Next comes the revised Tcl/Tk-Interface, which I propose to be placed in
>> a new namespace - tcl. .../tk. ... - to prevent collisions with mtcltk.
>> .../mtk. ... . Certainly, there some questions remaining which I will
>> pose soon.
>
> I feel fairly strongly that wrapper libraries should retain their
> proper name (e.g. tcl, tk), rather than assuming a name like mtk,
> mtcltk, mogl, etc.  The only potential problem with this naming that I
> can think of is if it ends up with two libraries with the same name
> and a different path, confusing the linker.

The usual technique is to create a package, say mercury_tcltk, and
the overall library will named that.  By wrapper libraries above
you are presumably referring to the actual module names?

Julien.


More information about the developers mailing list