FlightAware bounty program for improvements to Tcl and certain Tcl packages.
Author:         Joe Mistachkin <joe@mistachkin.com>
Author:         Jan Nijtmans <jan.nijtmans@gmail.com>
State:          Final
Type:           Project
Vote:           Done
Created:        14-Jan-2016
Keywords:       language implementation,platform
Tcl-Version:    8.5


This TIP proposes a mechanism for determining the implementation of the Tcl language currently in use.


There is more than one implementation of the Tcl language (see http://wiki.tcl.tk/13992 ). These implementations differ greatly in their degree of compatibility and completeness. At the script level, there is currently no standard way to determine which implementation of the Tcl language is being used.


The engine element will be added to the tcl_platform array. Its value will be set to "Tcl".

Reference Implementation

A reference implementation of this TIP is available https://core.tcl.tk/tcl/timeline?r=tclPlatformEngine .

The TH1, Jim, Picol, JTcl, and Eagle implementations of the Tcl language already implement this feature, each using the name of the project as the value of the tcl_platform(engine) element.


This document has been placed in the public domain.