Version 4 of Inline::C for Tcl

Updated 2003-09-12 18:34:06

[ Here's the email I sent to the ActiveTcl list. ]


Hi,

If there's already a project to bring Inline::C capability to Tcl, please point me at it. Otherwise, perhaps this could be the start of one.

For those unfamiliar with what Inline::C is, it is a Perl module that allows you to embed C code within your Perl program -- for more information, look here:

    http://search.cpan.org/author/INGY/Inline-0.44/C/C.pod

Now, tonight, I got to thinking: gee, it'd be nice to have something like this for Tcl. After giving it the "good ol' college try" (you know, I Googled two or three times and nothing came up) I couldn't find an implementation of Inline::C for Tcl. So, I said to myself: Tcl is awesome -- it shouldn't take me more than a minute or two to get a bare minimum snippet of Tcl code working that does what I want.

So, here is my first whack at Inline::C for Tcl.

    http://panoptic.com/tcl-inline/tcl-inline-1.0.tar.gz

Again, if such a thing already exists, pointers would be appreciated. Otherwise, perhaps if others find this useful, we can get this added to Tcllib or it can stand on its own. I don't care either way.

-- Dossy


Obviously, if such a thing already exists, I guess there ought to be links from this page so others (like me!) could find them easily ...

-- Dossy

Critcl does this. I've never used it but several people have commented at the Tcl'ers Chat and comp.lang.tcl about it. -- GPS

Ahh! Yes, JCW had mentioned CriTcl [L1 ] to me at one point but it totally slipped my mind last night. Thanks! -- Dossy


[ Category Package ]