TclScript

TclScript is a SourceForge project to provide an Active Script interface from the Tcl interpreter.

ActiveScript is the term used to describe a set of COM interfaces that permit a scripting language interpreter to be used by a scripting site or client. The interfaces provide an abstraction mechanism such that an ActiveScript client need not know or care what language is being used. This means that the user of such an application can use Perl if she so chooses rather than VBScript and the client application doesn't need to be changed.

This will allow Tcl to be used in WSH and Internet Explorer. Successful implementation of this project will put Tcl in with Perl, Python and Ruby as Open Source languages that can be used natively in Windows programs.

The project requires implementation of IActiveScript and IActiveScriptParse along with support for COM / ActiveX objects within Tcl.

Status (23 July 2001):

  • The TclScript engine currently uses an statically linked and minimally patched tcom package to get the COM access required. It can be instantiated in scripting hosts and return parsed answers.
  • (Jan 2002) Pretty stuck. I ran out of time doing other projects so this one has lost out. It hasn't lost my interest so I hope to pick this up again later this year.

Once a bit more work gets done, there will be some code and documentation on sourceforge. The project is registered there under http://sourceforge.net/projects/tclscript and the documentation will be at http://tclscript.sourceforge.net/

If anyone would like to discuss this - mail me (Pat Thoyts) at mailto:[email protected]