Tcl Library Source Code

View Ticket
Login
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2019 Conference, Houston/TX, US, Nov 4-8
Send your abstracts to [email protected]
or submit via the online form by Sep 9.
Ticket UUID: 932516
Title: html - many procedures not compatible with prodebug
Type: Bug Version: None
Submitter: nobody Created on: 2004-04-09 20:19:16
Subsystem: html Assigned To: aku
Priority: 5 Medium Severity: Minor
Status: Open Last Modified: 2019-06-25 17:01:06
Resolution: None Closed By: nobody
    Closed on:
Description:
prodebug complains about the following:

html::foreach
html::for
html::while
html::if
html::set
html::eval
User Comments: aku added on 2019-06-25 17:01:06:
An early design choice by Ajuba.
A weird one, given that they also created prodebug.

A possible change would be to

  html::foreach -> each
  html::for     -> iter  (iterate)
  html::while   -> cloop (conditional loop)
  html::if      -> on    (on <condition> <body> ...)
  html::set     -> assign
  html::eval    -> do

where `->` stands for `becomes`.

Going that way is a major API change, requires version bump to 2.x.
At that point we should go to Tcl 8.6 as well, I believe.