Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Create a Fully Featured Environment For Tcl/Tk Development Under Windows

I'm now learning Tcl/Tk, but as I'm running Windows, I want to create a fully featured(professional) development environment for this language, but I need to know:

  • Which tools I need to install(first of all)?
  • What are the IDEs that support Tcl/Tk development?
  • What is the best text editor to develop in?
  • Where I can find some librarys for it(if exists)?
  • It's possible to do some web applications with it?
    • It uses CGI?
like image 998
Nathan Campos Avatar asked Nov 23 '09 17:11

Nathan Campos


People also ask

How run Tcl program in Windows?

Installation on WindowsDownload the latest version for windows installer from the list of Active Tcl binaries available. The active Tcl community edition is free for personal use. Run the downloaded executable to install the Tcl, which can be done by following the on screen instructions.

Which of the following are important features of Tcl commands?

The advantage with these Tcl commands is that, you can define your own implementation for any of these commands to replace the original built-in functionality. Each of the Tcl commands validates the input and it reduces the work of the interpreter.

How do I know if Tcl is installed on Windows?

Open a command prompt to test the install, type in "tclsh" which should open an interactive tcl console. Enter "info patchlevel" to check the version of tcl that was installed and it should display an output of the form "8.6.

What is a Tcl interpreter?

The most common commercial use of the Tcl interpreter is to embed it within a C, C\# or C++ application. In this architecture, the mainline code is compiled and the Tcl interpreter is invoked to run specific scripts—to read a configuration file, display a GUI, to allow a user to customize behavior, etc.


2 Answers

Start off by installing ActiveTCL. It is free and includes TCL and TK bindings. If you have a favorite text editor you can use that. Make sure you have syntax highlighting. If you want something more advanced, I'd recommend Komodo. It is by active state and has a free version. It semantically understands TCL, so it is more intelligent than a standard text editor. For example it highlights syntax errors while you code.

Now write some code and spread the TCL love!

like image 69
Byron Whitlock Avatar answered Nov 11 '22 03:11

Byron Whitlock


For an interactive Tcl shell, use TkCon

For an editor, I use Komodo or Vim

For web apps, there are FrameWorks, servers: TclHTTP, Aol Server, Apache modules, and of course CGI

like image 43
glenn jackman Avatar answered Nov 11 '22 03:11

glenn jackman