Artifact d663a0ef09d1200f08af6a734c4ded3ac590444f47ffd59f1cf33d48ef13849f:
- File tip/440.md — part of check-in [5a4bdf8c67] at 2019-06-17 15:22:28 on branch trunk — Change a lot of paths from core.tcl.tk to core.tcl-lang.org, preventing unnecessary re-directs to be done by fossil. Also change http:// to https:// where appropriate. (user: jan.nijtmans size: 1351)
TIP 440: Add engine to tcl_platform Array
Author: Joe Mistachkin <[email protected]>
Author: Jan Nijtmans <[email protected]>
State: Final
Type: Project
Vote: Done
Created: 14-Jan-2016
Post-History:
Keywords: language implementation,platform
Tcl-Version: 8.5
Tcl-Branch: tclPlatformEngine
Abstract
This TIP proposes a mechanism for determining the implementation of the Tcl language currently in use.
Rationale
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.
Specification
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-lang.org/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.
Copyright
This document has been placed in the public domain.