Updated 2018-04-10 18:28:03 by ak (Redirected from TDK)
Name:Tcl Dev Kit (TDK)
Company:ActiveState
Github:https://github.com/ActiveState/tdk
URL:http://www.activestate.com/tcl-dev-kit (broken link 5/4/2018)
Doc URL:http://docs.activestate.com/tdk/ (broken link 5/4/2018)
Current Version:5.4.0
Updated:2014-12-08
Contact: See ActiveState Site


TDK Now Open Sourced edit

https://www.activestate.com/blog/2018/03/tcl-dev-kit-now-open-source

MG 5/4/2018 This is really great news. I've just grabbed it from Github. However... what the hell do I do with it now? ;) All the documentation seems to be geared around you downloading a wrapped version, and I can't find an entry point (was trying to run the graphical TclApp) that actually runs. Anyone have any instructions on what to do after you grab the source? Many thanks!

AK The TclApp entrypoint is https://github.com/ActiveState/tdk/blob/master/app/tclapp/entry.tcl. The toplevel README.md mentions that all the app entrypoints are under the app/ directory.

ABU Please help me. I'm on a Mac , with TclTk 8.6.4 ,
   wish .... entry.tcl  --> can't find package compiler

MG I tried that (and various other files throughout /app/ and /app/*/) but, as ABU says, they all throw errors about missing packages.

AK Re ABU: compiler is a binary package. It sources are under lib/tclcompiler. It has to be built and installed first, before it can be used.

AK Re MG Is this all about compiler as well ? If not, what are the missing packages ?

AK Pretty please use the issue tracker at https://github.com/ActiveState/tdk/issues to report problems. Collating them there helps all to see if their issue was encountered before, and what the solution was. At the moment it is clear that we need more documentation (install guide and the like).

JMC FWIW, it's taken some work, but I have it working. Start by following AK's advice and building tclcompiler. You'll also have to build tclparser. I use mingw & msys on Windows. Also, I build starkits with kbs.tcl (KitGen), but a Tcl build is part of that process. So, I used that Tcl build to complete the tclcompiler & tclparser compiles.

(Actually, as a first step, I recommend finding every reference to tdk_license in the whole project and either removing or commenting. There are many in the Tcl code, but they are informational only so they can be removed.)

To build tclcompiler:

  1. Remove this line from cmpWPkg.c - { "tdk_license", TdkLicenseObjCmd, 1 },
  2. Start bash.
  3. ./configure --with-tcl=/c/KitGen/buildWindowsNT/lib
  4. make

To build tclparser:

  1. remove this line from tclParser.c - { "tdk_license", TdkLicenseObjCmd, 1 },
  2. Start bash
  3. ./configure --with-tcl=/c/KitGen/buildWindowsNT/lib
  4. make

There are other random things that I encountered and had to change, but didn't make note of them. If others find problems and post here, I'll do my best to help.

AK: Uh. I had not realized that the tdk_license pieces were left in. I thought I had removed them. Oh, wait compiler and parser. I removed only in the Tcl code using these ... Definitely something to do and make a pull request (PR) for.

"Tcl Dev Kit (TDK) 5.0 provides essential tools for Tcl programmers, making it easy to create, build and deploy applications." 1-User-License $295

Tcl Dev Kit 5.0 was released October 2008. See the blog post [1] for details on 5.0 features. 5.0 added TclApp cross-platform wrapping, multi-architecture starkits, improved TDK Checker syntax analysis, and support for Tcl 8.6.

Bugs in TDK should be reported to ActiveState's bug database for tracking.


Press Release: 5.0 edit

ActiveState today released Tcl Dev Kit 5.0. With both new features and performance improvements, Tcl Dev Kit (TDK) 5.0 represents a significant upgrade to the essential toolkit for Tcl/Tk programmers.

In TDK 5.0, TclApp --- for building self-contained, installation-free executables for Windows, Mac OS X, Linux, Solaris, AIX, and HP-UX --- has been significantly enhanced to improve cross-platform wrapping. And TDK 5.0 users can now create multi-architecture starkits.

In addition, TDK Checker, the static Tcl syntax analyzer, has been improved to give users more control over syntax checking options and output, as well as recommend corrected code for common coding mistakes. Today's release also includes support for Tcl 8.6, which is expected to be final in November.

"This latest TDK raises the bar for Tcl development tools with a new level of ease of use for deployment and smarter and more flexible analysis of Tcl applications," says Jeff Hobbs, Senior Tcl Developer and Director of the Languages Business Division at ActiveState.

Check out all the documentation and visit the updated community site to get the most out of TDK 5.0.

Special Release Savings

Tcl Dev Kit 5.0 is available now, with special release pricing of $245 US until December 23, 2008 (regularly $295). Upgrade pricing and education licenses are available. TDK is available at http://www.activestate.com/tdk.

TDK is also offered with ActiveTcl Pro Studio, the professional Tcl development bundle that also includes Komodo IDE --- a powerful multi-platform IDE with advanced Tcl support --- and Safari Books Online. A one-year subscription includes permanent licenses and all software upgrades. First year subscriptions are currently on sale for $445 until December 23, 2008. TDK 5.0 a free update for current ActiveTcl Pro Studio users, who can download the new version from My Downloads section of their ActiveState account.

TDK for Teams Sale

ActiveState today introduced fantastic pricing for tcl/tk developers working in small teams. TDK is now being offered in 5-packs for only $995 US until December 23, 2008 (regularly $1475). TDK for teams is available at http://www.activestate.com/tdk. Teams can take advantage of special pricing on ActiveTcl Pro Studio 5-packs, for only $1995 until December 23, 2008. ActiveTcl Pro Studio for teams is available at http://www.activestate.com/activetclprostudio.

About ActiveState

ActiveState creates professional software development tools, programming language distributions, and business solutions for dynamic languages, and practical tools and applications for social networking platforms. ActiveState solves complex problems and produces cool and useful applications that help people live more productive and enjoyable lives. ActiveState technology "just works." ActiveState is owned by its employees and Pender Financial Group, a publicly traded investment company focused on technology in British Columbia. For more information, visit www.activestate.com.

The TDK is comprised of the following components: edit

TclApp

Easily create and deploy self-contained Tcl executables to all major platforms*.

  • Deliver small, seamless executables with sophisticated extension wrapping and dynamically linked Tcl and Tk libraries.
  • Run from the command line, or choose intuitive GUIs for visual guides to build options.
  • Ensure that code is always executed by a specific version of Tcl.
  • Deploy to systems with or without Tcl and extensions installed.

Graphical Debugger

Quickly find and fix bugs in Tcl scripts

  • Evaluate single Tcl commands, or run to the current cursor position in the code.
  • Display variable values for all accessible stack frames.
  • Display full stack information and navigation around the stack and source code when the application is stopped.
  • Set line- and variable-based breakpoints.
  • Enter code to be evaluated dynamically when the application is stopped.
  • Interrupt code to determine execution status.
  • Communicate with remote and embedded applications.
  • Debug multiple processes simultaneously.

Coverage and Hotspot Analyzer

Improve code performance and reliability through coverage and hotspot analysis.

  • Determine which code has not been run and which files lack coverage.
  • Identify bottleneck code to address performance issues.
  • Analyze file by file and function by function.

Compiler

Protect your source code and reduce application support.

  • Compile scripts independently of execution, then store for loading and executing when you need them.
  • Distribute bytecode files instead of source code to protect your intellectual property.
  • Simplify support by distributing code that cannot be modified by users.
  • Use with TclApp to create bundled applications that don't require special installation.

Cross Reference Tool (XRef)

Simplify building, debugging and maintaining Tcl code.

  • Understand complex code at a glance with a visual guide to where code is defined, declared, used and located.
  • Easily view relationships among Tcl code components, including packages, files, namespaces, commands and variables.
  • Extract Tcl component information from programs and packages contained in TclApp (or Prowrap) projects, Tcl Dev Kit Package definitions (".tap" files) and Komodo IDE project files.

TclChecker

Find errors in Tcl scripts before they are run.

  • Uncover problems in new scripts, scripts from older versions of Tcl/Tk, or scripts ported from another operating system.
  • Assess the quality of a body of Tcl code.
  • Quickly examine large Tcl files.
  • Find potential incompatibilities to guide upgrades to current Tcl, Tk and incr Tcl releases.

Inspector

Analyze Tcl and Tk applications as they run.

  • Organize and display application components by component type.
  • Display and modify component configuration on-the-fly.

Package Editor

Define Tcl packages in TEApot or TclApp Package formats.

  • Simplify TclApp application creation.
  • Modify packages for re-use by multiple TclApp applications.

TEA Package Management

Create, manage, export and use TEApot package repositories.

  • TEAcup: Package management client for fetching, installing, updating and removing Tcl packages (part of ActiveTcl). TEAcup can also provide meta data on installed and available packages and can be used to search multiple repositories using complex queries.
  • TEApot: Expose TEA repositories on a network via TCP/IP.
  • TEApot-Admin: Manage "opaque" repositories on the local file system. Create new repositories, add and remove packages, list the repository contents and retrieve packages.
  • TEApot-Pkg: Create TEA package archives from package sources and binaries.

TclSvc

Convert Tcl programs to native Windows services.

Related Content: edit