Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2001-04-05
07:16 • Closed ticket [218033ffff]: Add major/minor support plus 3 other changes artifact: f9b1dcf22e user: dgp
07:15 • Open ticket [218033ffff]. artifact: 73b6dcbb49 user: dgp
2000-10-26
08:13 • Closed ticket [218033ffff]. artifact: f9921159ea user: welch
00:52 • New ticket [218033ffff]. artifact: 796421e95d user: nobody

Add major/minor support

Closed / Fixed218033ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 00:52:24
OriginalBugID: 1325 RFE
Version: 8.1b1
SubmitDate: '1999-03-02'
LastModified: '2000-01-12'
Severity: LOW
Status: Closed
Submitter: pat
ChangedBy: hobbs
OS: Other
Machine: NA
FixedDate: '2000-10-25'
ClosedDate: '2000-01-12'


Name:
Christopher Nelson

DesiredBehavior:
    Once upon a time, I'm told there was a feature generally called
    "major/minor" which, being a virtual newbie, I've not had the pleasure
    of using.  While Tcl makes it really easy to add new commands, I
    understand major/minor provided for easily and efficiently adding new
    sub-commands.  Recently, there have been postings on comp.lang.tcl
    requesting [string map].  In the not too distant past, there was
    discussion of [string equal].  Things like this could be implemented by
    the community if major/minor was put back into the Tcl core.  Someone
    (Clif Flynt) has told me that the current method of resolving
    sub-commands is grossly inefficient so this might also be an opportunity
    to revisit that algorithm and pick up some performance.  Sounds like a
    win-win-win to me!
    




Some elements of major/minor (creating ensembles) are in itcl.
The string procs mentioned are actually in true core (not through
some major/minor trick).  The new object based method for resolving
subcommands is not inefficient. 
-- 01/12/2000 hobbs
welch Closed ticket [218033ffff]. [History diff]2000-10-26 08:13:42
dgp Open ticket [218033ffff]. [History diff]2001-04-05 07:15:17
dgp Closed ticket [218033ffff]. [History diff]2001-04-05 07:16:25
Log in (anonymous is fine) to add a comment.