Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Jul 21st, 2005, 8:37 AM   #1
mackenga
Professional Programmer
 
Join Date: Mar 2005
Location: Glasgow, Scotland
Posts: 317
Rep Power: 4 mackenga is on a distinguished road
Hey, the system works!

However, this forum does look, as feared when I suggested it, very quiet. Does anyone have any Tcl/Tk questions? Whenever I can get online I'll be happy to answer them. Tcl/Tk is kind of my speciality, so I should be able to help with any problems you might have.

If you don't use Tcl, you should! Check out http://www.tcl.tk/ - it's free, and it's got to be the fastest and easiest way to develop GUI programs that run on Windows, Unix and Macintosh. It's easier to write portable software in Tcl/Tk than in Java.

Tcl's also great for embedding in your own C or C++ applications so your users can script them.

Tcl's been criticised by Richard Stallman (among others) - but nearly completely unfairly. The accusation that it doesn't scale to large programs is completely unfounded - and just because RMS doesn't like the syntax doesn't mean it's not easy and logical for your users. There's even an object oriented extension - incr Tcl - which makes writing bigger systems a breeze.

Give it a try - you won't be disappointed!
mackenga is offline   Reply With Quote
Old Jul 21st, 2005, 10:08 AM   #2
Infinite Recursion
Programming Guru
 
Infinite Recursion's Avatar
 
Join Date: Jul 2004
Location: United States
Posts: 3,467
Rep Power: 8 Infinite Recursion is on a distinguished road
Send a message via MSN to Infinite Recursion Send a message via Yahoo to Infinite Recursion
Alright... Throw us an example of how to embed TCL in a basic C++ application. Also, maybe you can tell give us a comparison of TCL vs Python, etc. Just curious as I don't use TCL very often.
__________________
http://jasonpowers.net

"There are a thousand hacking at the branches of evil to one who is striking at the root."
Infinite Recursion is offline   Reply With Quote
Old Jul 27th, 2005, 2:30 PM   #3
mackenga
Professional Programmer
 
Join Date: Mar 2005
Location: Glasgow, Scotland
Posts: 317
Rep Power: 4 mackenga is on a distinguished road
If it's just general introductory information you're after, including comparisons with other interpreted languages, take a look at http://www.tcl.tk/ - there's a comparison between Tcl, Perl, Python, JavaScript and Visual Basic there (at http://www.tcl.tk/advocacy ) which outlines the main differences and similarities (obviously it's a bit of a biased comparison, but there are no out-and-out lies involved).

A general embedding tutorial is a wee bit hefty for a forum post (but don't be put off; it's not difficult really). The Engineering Manual ( http://www.tcl.tk/doc/engManual.pdf ) is probably not a bad starting point; all this is also covered near the back of Brent Welch's book (Practical Programming in Tcl and Tk - website at http://www.beedub.com/book/ ). One of the free chapters available online happens to be the "C Programming and Tcl" introduction ( http://www.beedub.com/book/3rd/Cprogint.pdf ).

Hope this helps.
mackenga is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 9:28 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC