TIP #440: ADD ENGINE TO TCL_PLATFORM ARRAY ============================================ Version: $Revision: 1.13 $ Author: Joe Mistachkin Jan Nijtmans State: Final Type: Project Tcl-Version: 8.5 Vote: Done Created: Thursday, 14 January 2016 URL: https://tip.tcl-lang.org440.html Post-History: ------------------------------------------------------------------------- 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 []). 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 []. 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. ------------------------------------------------------------------------- TIP AutoGenerator - written by Donal K. Fellows