![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Professional Programmer
Join Date: Mar 2005
Location: Glasgow, Scotland
Posts: 314
Rep Power: 4
![]() |
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! |
|
|
|
|
|
#2 |
|
Programming Guru
![]() ![]() ![]() |
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." |
|
|
|
|
|
#3 |
|
Professional Programmer
Join Date: Mar 2005
Location: Glasgow, Scotland
Posts: 314
Rep Power: 4
![]() |
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. |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|