Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: b1c55fdf726dc6616acdb8edb8e33abd43a90f28
Ticket: 2314561fffffffffffffffffffffffffffffffff
TODO: NRE-enable [subst]
User & Date: dkf on 2009-01-03 04:03:29
Changes

  1. icomment:
    At a higher level, what I want is to be able to [yield] inside the processing of a command-substitution of a [subst] (assuming the outer code is in a coroutine). That would allow templates to suspend their processing to allow other events to be processed without having problems with reentrancy (classically, tclhttpd templates just use [vwait]!).
    
    One way to tackle this would be to take the parsed token sequence and to issue bytecode for it, just as if it was a "quote"-delimited word. Another would be to make some kind of NRE-enabled "accumulate the substitutions for these tokens" function (no, I don't know which).
    
    
  2. login: "dkf"
  3. mimetype: "text/plain"
  4. username: "dkf"