Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: abdcc57acc7bca4f914f04c3c00d00790515f353
Ticket: 1904111fffffffffffffffffffffffffffffffff
kill TEOVI
User & Date: msofer on 2008-02-29 00:25:03
Changes

  1. icomment:
    Logged In: YES 
    user_id=148712
    Originator: YES
    
    The high-level view:
    
    TEOVI was needed to unify all evals in a single spot, because TclEvalEx needed a different api to be able to pass its real source. So it worked as backend for both TEOV and TE
    
    (1) TEOVI gave the burden of managing numLevels to its callers for no particular reason I can remember now (and I did that thing!)
    
    (2) TIP 280 makes Tcl_EvalEx record its source in a CmdFrame - so it does not need to be passed as a parameter!
    
    (3) TEOVI had this (IMO) crazy structure that caused at least me to have to concentrate to understand what is the namespace and what is the varFrame at each line of code, and having to think hard about which parts of the code were run under which conditions. The factoring out makes the flow crystal clear. And it pushes incidental code that is not run very often out to different functions.
    
    
  2. login: "msofer"
  3. mimetype: "text/plain"
  4. username: "msofer"