Skip to content
Tcl Source Code History Of Ticket 924045ffff
Login

History Of Ticket 924045ffff

Artifacts Associated With Ticket 924045ffff

  1. Ticket change [332317004f] (rid 106533) by msofer on 2004-03-26 17:04:33:

    1. assignee initialized to: "msofer"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      TclWordKnownAtCompileTime() is currently only used in
      compiling [return]; it should be valuable elsewhere in
      the compiler, wherever tests like 
         if (tokenPtr->type == TCL_TOKEN_SIMPLE_WORD)
      are made. 
      It will allow compilation of scripts with a fair amount
      of \uHHHH encodings in them, plus backslash-newline in
      long literal strings.
      
    4. foundin initialized to: "None"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "msofer"
    9. subsystem initialized to: "47. Bytecode Compiler"
    10. title initialized to: "wider use of TclWordKnownAtCompileTime()"
    11. type initialized to: "RFE"
  2. Ticket change [fd167dc56d] (rid 108351) by msofer on 2004-03-27 00:06:32:

    1. assignee changed to: "nobody"
    2. icomment:
      Logged In: YES 
      user_id=148712
      
      oops -this is an RFE, not a patch
      
      
    3. login: "msofer"
    4. mimetype: "text/plain"
    5. subsystem changed to: "None"
    6. username: "msofer"
  3. Ticket change [e3cf2f6d0f] (rid 87862) by msofer on 2004-03-27 00:09:56:

    1. assignee changed to: "msofer"
    2. subsystem changed to: "47. Bytecode Compiler"
  4. Ticket change [447efa2000] (rid 116721) by msofer on 2006-09-30 00:51:54:

    1. priority changed to: "8"
  5. Ticket change [50004e045d] (rid 125906) by andreas_kupries on 2006-09-30 01:01:27:

    1. icomment:
      Logged In: YES 
      user_id=75003
      
      Oh, I have a TclLiteral function in the patch I wrote for
      #86/#211. Miguel, I will send you the patch, and maybe I can
      use TclWordKnownAtCompileTime as well. Notethat my patch is
      against 8.4, not head.
      
      
      
    2. login: "andreas_kupries"
    3. mimetype: "text/plain"
    4. username: "andreas_kupries"
  6. Ticket change [c1e465c8cf] (rid 111402) by andreas_kupries on 2006-10-06 01:24:01:

    1. icomment:
      Logged In: YES 
      user_id=75003
      
      I have now compared the two functions, i.e. "TclIsLiteral"
      and "TclWordKnownAtCompileTime". The general logic used by
      both to decide the issue is identical (I am very glad to see
      this, as it means that my understanding of the Token types
      is likely correct).
      
      What "TclWordKnownAtCompileTime" does beyond "TclIsLiteral"
      is to actually assemble the literal value, if requested.
      
      Note: The tclpro checker has commands to decide literal-ness
       and for assembly of the actual literal as well, based on
      the  token list structure returned by the commands of the
      Tclparser package (exposing the core parser to the script
      level). I wonder if something can be done to expose
      'TclWordKnownAtCompileTime' as well.
      
      I will remove my TclISLiteral form the patch for 8.5, and
      for 8.4 I will rename my function, but keep the reduced API,
      i.e. no assembly of a value, only deciding literalness.
      However this way the 8.5 function can be seen as 'obvious'
      extension of the conditional one going into 8.4 for TIP 211ng
      
      
      
    2. login: "andreas_kupries"
    3. mimetype: "text/plain"
    4. username: "andreas_kupries"
  7. Ticket change [7f16781485] (rid 261552) by serhiy.storchaka on 2026-11-13 11:18:45:

    1. closedate changed to: "2461357.9713335303"
    2. closer changed to: "serhiy.storchaka"
    3. icomment:
      TclWordKnownAtCompileTime() is now used throughout the bytecode compiler (tclCompile.c, tclCompCmds*.c, tclCompExpr.c, tclAssembly.c), so words with backslash substitutions are treated as compile-time literals.
      
    4. login: "serhiy.storchaka"
    5. mimetype: "text/x-fossil-wiki"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"