Tcl interpreter for windows




















Individuals can get started for free. For further details, see our plans and pricing page. By signing up for a free ActiveState Platform account, you can configure your own Tcl runtime environment that contains a version of Tcl and only the modules your project requires.

The ActiveState Platform is a universal package management solution for Python, Perl, and Tcl, delivering a distributed, cloud-based parallel build system so that even complex development environments can be automatically built and packaged for your OS in record time— straight from source code —giving you all the security assurances and flexibility that comes with it.

An active runtime is the number of instances of software from the ActiveState Platform that are run in a 24 hour period. This is a version of Tcl that automatically loads the Tk extension for building graphical user interfaces GUIs.

This tutorial does not cover Tk, and so we will not use the wish interpreter here. Other options are also available, providing more functional environments for developing and debugging code than that provided by the standard tclsh. One very popular choice is the TkCon enhanced interpreter, written by Jeff Hobbs. Don't panic, though!

If you don't know how to use a sophisticated development environment, it is still very easy to write Tcl code by hand in a simple text editor such as Notepad.

There are plenty of wrappers for Tcl as a service. Start with wiki. Thanks for the reply. The scenario in the wrappers at the link you provided is to run the Tcl interpreter itself as a Windows service. What I'm trying do is to add a Tcl interpreter in the program to execute external Tcl scripts. Is it possible that the service is interfering with the Tcl event loop? If you look at the source code for the wrappers they should show you how to go about creating a Tcl interpreter within a service, try sensus.

Also if you post the code you've got so far it would help diagnose the problem. Ok I'll write a simplified version that reproduces the problem and I'll post it.

I looked at the code of tclsvc. It seems to confirm what I feared: the Tcl event loop has to be called explicitely. You should edit your question to put more of these pieces of information in; they'll make it more specific and a much better question. Show 2 more comments. Active Oldest Votes. Sign up or log in Sign up using Google.



0コメント

  • 1000 / 1000