Check-in [dce4aef4b9]

Login
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2019 Conference, Houston/TX, US, Nov 4-8
Send your abstracts to tclconference@googlegroups.com
or submit via the online form by Sep 9.

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Clean-up CVS import
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256:dce4aef4b9553e98fa78255fec6ab043d9ac79f3015a410872a1d84d25f868e7
User & Date: mjanssen 2017-09-06 14:15:36
Context
2017-09-06
14:15
Converted TIPs to Markdown check-in: 9f0c27f8d1 user: mjanssen tags: trunk
14:15
Clean-up CVS import check-in: dce4aef4b9 user: mjanssen tags: trunk
2017-07-16
21:04
Revision through web from Andreas Leitgeb <avl@logic.at> added reference to fossil branch. check-in: 26cb3c7596 user: tclhttpd tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Deleted CVSROOT/checkoutlist.

     1         -# The "checkoutlist" file is used to support additional version controlled
     2         -# administrative files in $CVSROOT/CVSROOT, such as template files.
     3         -#
     4         -# The first entry on a line is a filename which will be checked out from
     5         -# the corresponding RCS file in the $CVSROOT/CVSROOT directory.
     6         -# The remainder of the line is an error message to use if the file cannot
     7         -# be checked out.
     8         -#
     9         -# File format:
    10         -#
    11         -#	[<whitespace>]<filename><whitespace><error message><end-of-line>
    12         -#
    13         -# comment lines begin with '#'

Deleted CVSROOT/commitinfo.

     1         -# The "commitinfo" file is used to control pre-commit checks.
     2         -# The filter on the right is invoked with the repository and a list 
     3         -# of files to check.  A non-zero exit of the filter program will 
     4         -# cause the commit to be aborted.
     5         -#
     6         -# The first entry on a line is a regular expression which is tested
     7         -# against the directory that the change is being committed to, relative
     8         -# to the $CVSROOT.  For the first match that is found, then the remainder
     9         -# of the line is the name of the filter to run.
    10         -#
    11         -# If the repository name does not match any of the regular expressions in this
    12         -# file, the "DEFAULT" line is used, if it is specified.
    13         -#
    14         -# If the name "ALL" appears as a regular expression it is always used
    15         -# in addition to the first matching regex or "DEFAULT".

Deleted CVSROOT/config.

     1         -# Set this to "no" if pserver shouldn't check system users/passwords
     2         -SystemAuth=no
     3         -
     4         -# Set `PreservePermissions' to `yes' to save file status information
     5         -# in the repository.
     6         -#PreservePermissions=no
     7         -
     8         -# Set `TopLevelAdmin' to `yes' to create a CVS directory at the top
     9         -# level of the new working directory when using the `cvs checkout'
    10         -# command.
    11         -#TopLevelAdmin=no

Deleted CVSROOT/cvswrappers.

     1         -# This file affects handling of files based on their names.
     2         -#
     3         -# The -t/-f options allow one to treat directories of files
     4         -# as a single file, or to transform a file in other ways on
     5         -# its way in and out of CVS.
     6         -#
     7         -# The -m option specifies whether CVS attempts to merge files.
     8         -#
     9         -# The -k option specifies keyword expansion (e.g. -kb for binary).
    10         -#
    11         -# Format of wrapper file ($CVSROOT/CVSROOT/cvswrappers or .cvswrappers)
    12         -#
    13         -#  wildcard	[option value][option value]...
    14         -#
    15         -#  where option is one of
    16         -#  -f		from cvs filter		value: path to filter
    17         -#  -t		to cvs filter		value: path to filter
    18         -#  -m		update methodology	value: MERGE or COPY
    19         -#  -k		expansion mode		value: b, o, kkv, &c
    20         -#
    21         -#  and value is a single-quote delimited value.
    22         -# For example:
    23         -#*.gif -k 'b'

Deleted CVSROOT/editinfo.

     1         -# The "editinfo" file is used to allow verification of logging
     2         -# information.  It works best when a template (as specified in the
     3         -# rcsinfo file) is provided for the logging procedure.  Given a
     4         -# template with locations for, a bug-id number, a list of people who
     5         -# reviewed the code before it can be checked in, and an external
     6         -# process to catalog the differences that were code reviewed, the
     7         -# following test can be applied to the code:
     8         -#
     9         -#   Making sure that the entered bug-id number is correct.
    10         -#   Validating that the code that was reviewed is indeed the code being
    11         -#       checked in (using the bug-id number or a seperate review
    12         -#       number to identify this particular code set.).
    13         -#
    14         -# If any of the above test failed, then the commit would be aborted.
    15         -#
    16         -# Actions such as mailing a copy of the report to each reviewer are
    17         -# better handled by an entry in the loginfo file.
    18         -#
    19         -# One thing that should be noted is the the ALL keyword is not
    20         -# supported.  There can be only one entry that matches a given
    21         -# repository.

Deleted CVSROOT/loginfo.

     1         -# The "loginfo" file controls where "cvs commit" log information
     2         -# is sent.  The first entry on a line is a regular expression which must match
     3         -# the directory that the change is being made to, relative to the
     4         -# $CVSROOT.  If a match is found, then the remainder of the line is a filter
     5         -# program that should expect log information on its standard input.
     6         -#
     7         -# If the repository name does not match any of the regular expressions in this
     8         -# file, the "DEFAULT" line is used, if it is specified.
     9         -#
    10         -# If the name ALL appears as a regular expression it is always used
    11         -# in addition to the first matching regex or DEFAULT.
    12         -#
    13         -# You may specify a format string as part of the
    14         -# filter.  The string is composed of a `%' followed
    15         -# by a single format character, or followed by a set of format
    16         -# characters surrounded by `{' and `}' as separators.  The format
    17         -# characters are:
    18         -#
    19         -#   s = file name
    20         -#   V = old version number (pre-checkin)
    21         -#   v = new version number (post-checkin)
    22         -#
    23         -# For example:
    24         -#DEFAULT (echo ""; id; echo %s; date; cat) >> $CVSROOT/CVSROOT/commitlog
    25         -# or
    26         -#DEFAULT (echo ""; id; echo %{sVv}; date; cat) >> $CVSROOT/CVSROOT/commitlog
    27         -^tip (date; cat; (sleep 2; cd /usr/local/web/tip; /usr/bin/cvs -q update -d) &) >> $CVSROOT/CVSROOT/updatelog 2>&1

Deleted CVSROOT/modules.

     1         -modules      CVSROOT modules
     2         -admin        web/admin
     3         -doc.site     web/doc.site
     4         -devxchg.site web/devxchg.site
     5         -dxc_res.site web/dxc_res.site
     6         -site_look    web/site_look
     7         -tip          tip

Deleted CVSROOT/notify.

     1         -# The "notify" file controls where notifications from watches set by
     2         -# "cvs watch add" or "cvs edit" are sent.  The first entry on a line is
     3         -# a regular expression which is tested against the directory that the
     4         -# change is being made to, relative to the $CVSROOT.  If it matches,
     5         -# then the remainder of the line is a filter program that should contain
     6         -# one occurrence of %s for the user to notify, and information on its
     7         -# standard input.
     8         -#
     9         -# "ALL" or "DEFAULT" can be used in place of the regular expression.
    10         -#
    11         -# For example:
    12         -#ALL mail %s -s "CVS notification"

Deleted CVSROOT/rcsinfo.

     1         -# The "rcsinfo" file is used to control templates with which the editor
     2         -# is invoked on commit and import.
     3         -#
     4         -# The first entry on a line is a regular expression which is tested
     5         -# against the directory that the change is being made to, relative to the
     6         -# $CVSROOT.  For the first match that is found, then the remainder of the
     7         -# line is the name of the file that contains the template.
     8         -#
     9         -# If the repository name does not match any of the regular expressions in this
    10         -# file, the "DEFAULT" line is used, if it is specified.
    11         -#
    12         -# If the name "ALL" appears as a regular expression it is always used
    13         -# in addition to the first matching regex or "DEFAULT".

Deleted CVSROOT/taginfo.

     1         -# The "taginfo" file is used to control pre-tag checks.
     2         -# The filter on the right is invoked with the following arguments:
     3         -#
     4         -# $1 -- tagname
     5         -# $2 -- operation "add" for tag, "mov" for tag -F, and "del" for tag -d
     6         -# $3 -- repository
     7         -# $4->  file revision [file revision ...]
     8         -#
     9         -# A non-zero exit of the filter program will cause the tag to be aborted.
    10         -#
    11         -# The first entry on a line is a regular expression which is tested
    12         -# against the directory that the change is being committed to, relative
    13         -# to the $CVSROOT.  For the first match that is found, then the remainder
    14         -# of the line is the name of the filter to run.
    15         -#
    16         -# If the repository name does not match any of the regular expressions in this
    17         -# file, the "DEFAULT" line is used, if it is specified.
    18         -#
    19         -# If the name "ALL" appears as a regular expression it is always used
    20         -# in addition to the first matching regex or "DEFAULT".

Deleted CVSROOT/verifymsg.

     1         -# The "verifymsg" file is used to allow verification of logging
     2         -# information.  It works best when a template (as specified in the
     3         -# rcsinfo file) is provided for the logging procedure.  Given a
     4         -# template with locations for, a bug-id number, a list of people who
     5         -# reviewed the code before it can be checked in, and an external
     6         -# process to catalog the differences that were code reviewed, the
     7         -# following test can be applied to the code:
     8         -#
     9         -#   Making sure that the entered bug-id number is correct.
    10         -#   Validating that the code that was reviewed is indeed the code being
    11         -#       checked in (using the bug-id number or a seperate review
    12         -#       number to identify this particular code set.).
    13         -#
    14         -# If any of the above test failed, then the commit would be aborted.
    15         -#
    16         -# Actions such as mailing a copy of the report to each reviewer are
    17         -# better handled by an entry in the loginfo file.
    18         -#
    19         -# One thing that should be noted is the the ALL keyword is not
    20         -# supported.  There can be only one entry that matches a given
    21         -# repository.

Deleted CVSROOT/writers.


Name change from tip/10.patch to assets/10.patch.


Name change from tip/152after.eps to assets/152after.eps.


Name change from tip/152after.gif to assets/152after.gif.

cannot compute difference between binary files

Name change from tip/152after.txt to assets/152after.txt.


Name change from tip/152before.eps to assets/152before.eps.


Name change from tip/152before.gif to assets/152before.gif.

cannot compute difference between binary files

Name change from tip/152before.txt to assets/152before.txt.


Name change from tip/168P.eps to assets/168P.eps.


Name change from tip/168P.png to assets/168P.png.

cannot compute difference between binary files

Name change from tip/168P.txt to assets/168P.txt.


Name change from tip/168ab.eps to assets/168ab.eps.


Name change from tip/168ab.png to assets/168ab.png.

cannot compute difference between binary files

Name change from tip/168ab.txt to assets/168ab.txt.


Name change from tip/168f.eps to assets/168f.eps.


Name change from tip/168f.png to assets/168f.png.

cannot compute difference between binary files

Name change from tip/168f.txt to assets/168f.txt.


Name change from tip/168xy.eps to assets/168xy.eps.


Name change from tip/168xy.png to assets/168xy.png.

cannot compute difference between binary files

Name change from tip/168xy.txt to assets/168xy.txt.


Name change from tip/18labframe.eps to assets/18labframe.eps.


Name change from tip/18labframe.png to assets/18labframe.png.

cannot compute difference between binary files

Name change from tip/18labframe.txt to assets/18labframe.txt.


Name change from tip/19.patch to assets/19.patch.


Name change from tip/247fig1.png to assets/247fig1.png.

cannot compute difference between binary files

Name change from tip/247fig1.txt to assets/247fig1.txt.


Name change from tip/247fig2.png to assets/247fig2.png.

cannot compute difference between binary files

Name change from tip/247fig2.txt to assets/247fig2.txt.


Name change from tip/247fig3.png to assets/247fig3.png.

cannot compute difference between binary files

Name change from tip/247fig3.txt to assets/247fig3.txt.


Name change from tip/247fig4.png to assets/247fig4.png.

cannot compute difference between binary files

Name change from tip/247fig4.txt to assets/247fig4.txt.


Name change from tip/247fig5.png to assets/247fig5.png.

cannot compute difference between binary files

Name change from tip/247fig5.txt to assets/247fig5.txt.


Name change from tip/247fig6.png to assets/247fig6.png.

cannot compute difference between binary files

Name change from tip/247fig6.txt to assets/247fig6.txt.


Name change from tip/247fig7.png to assets/247fig7.png.

cannot compute difference between binary files

Name change from tip/247fig7.txt to assets/247fig7.txt.


Name change from tip/249statemachine.png to assets/249statemachine.png.

cannot compute difference between binary files

Name change from tip/249statemachine.txt to assets/249statemachine.txt.


Name change from tip/25native.eps to assets/25native.eps.


Name change from tip/25native.gif to assets/25native.gif.

cannot compute difference between binary files

Name change from tip/25native.txt to assets/25native.txt.


Name change from tip/25original.eps to assets/25original.eps.


Name change from tip/25original.gif to assets/25original.gif.

cannot compute difference between binary files

Name change from tip/25original.txt to assets/25original.txt.


Name change from tip/26.patch to assets/26.patch.


Name change from tip/2workflow.eps to assets/2workflow.eps.


Name change from tip/2workflow.fig to assets/2workflow.fig.


Name change from tip/2workflow.gif to assets/2workflow.gif.

cannot compute difference between binary files

Name change from tip/2workflow.txt to assets/2workflow.txt.


Name change from tip/3example.eps to assets/3example.eps.


Name change from tip/3example.fig to assets/3example.fig.


Name change from tip/3example.gif to assets/3example.gif.

cannot compute difference between binary files

Name change from tip/3example.txt to assets/3example.txt.


Name change from tip/41example.eps to assets/41example.eps.


Name change from tip/41example.png to assets/41example.png.

cannot compute difference between binary files

Name change from tip/41example.txt to assets/41example.txt.


Name change from tip/4layers1.eps to assets/4layers1.eps.


Name change from tip/4layers1.fig to assets/4layers1.fig.


Name change from tip/4layers1.gif to assets/4layers1.gif.

cannot compute difference between binary files

Name change from tip/4layers1.txt to assets/4layers1.txt.


Name change from tip/4layers2.eps to assets/4layers2.eps.


Name change from tip/4layers2.fig to assets/4layers2.fig.


Name change from tip/4layers2.gif to assets/4layers2.gif.

cannot compute difference between binary files

Name change from tip/4layers2.txt to assets/4layers2.txt.


Name change from tip/4layers3.eps to assets/4layers3.eps.


Name change from tip/4layers3.fig to assets/4layers3.fig.


Name change from tip/4layers3.gif to assets/4layers3.gif.

cannot compute difference between binary files

Name change from tip/51compare.eps to assets/51compare.eps.


Name change from tip/51compare.gif to assets/51compare.gif.

cannot compute difference between binary files

Name change from tip/51compare.txt to assets/51compare.txt.


Name change from tip/78pa_cycle.eps to assets/78pa_cycle.eps.


Name change from tip/78pa_cycle.fig to assets/78pa_cycle.fig.


Name change from tip/78pa_cycle.gif to assets/78pa_cycle.gif.

cannot compute difference between binary files

Name change from tip/78pa_cycle.txt to assets/78pa_cycle.txt.


Name change from tip/78tea_terms_relations_1.eps to assets/78tea_terms_relations_1.eps.


Name change from tip/78tea_terms_relations_1.fig to assets/78tea_terms_relations_1.fig.


Name change from tip/78tea_terms_relations_1.gif to assets/78tea_terms_relations_1.gif.

cannot compute difference between binary files

Name change from tip/78tea_terms_relations_1.txt to assets/78tea_terms_relations_1.txt.


Name change from tip/78tea_terms_relations_2.eps to assets/78tea_terms_relations_2.eps.


Name change from tip/78tea_terms_relations_2.fig to assets/78tea_terms_relations_2.fig.


Name change from tip/78tea_terms_relations_2.gif to assets/78tea_terms_relations_2.gif.

cannot compute difference between binary files

Name change from tip/78tea_terms_relations_2.txt to assets/78tea_terms_relations_2.txt.


Name change from tip/7capture.eps to assets/7capture.eps.


Name change from tip/7capture.gif to assets/7capture.gif.

cannot compute difference between binary files

Name change from tip/7capture.tcl to assets/7capture.tcl.


Name change from tip/7capture.txt to assets/7capture.txt.


Name change from tip/7histogram.eps to assets/7histogram.eps.


Name change from tip/7histogram.gif to assets/7histogram.gif.

cannot compute difference between binary files

Name change from tip/7histogram.tcl to assets/7histogram.tcl.


Name change from tip/7histogram.txt to assets/7histogram.txt.


Name change from tip/tipxml.dtd to assets/tipxml.dtd.


Name change from tip/valid-html40.gif to assets/valid-html40.gif.

cannot compute difference between binary files

Deleted tip/10000.tip.

     1         -TIP:            10000
     2         -Title:          Dummy Proposal for Testing Editing Interfaces
     3         -Version:        $Revision: 1.216 $
     4         -Author:         Don Porter <dgp@users.sourceforge.net>
     5         -Author:         Andreas Kupries <a.kupries@westend.com>
     6         -Author:         Richard Suchenwirth <richard.suchenwirth@kst.siemens.de>
     7         -Author:         Kevin B KENNY <kennykb@acm.org>
     8         -Author:         Jeff Hobbs <hobbs@users.sourceforge.net>
     9         -Author:         Vince Darley <vincentdarley@users.sourceforge.net>
    10         -Author:         Fabrice Pardo <Fabrice.Pardo@l2m.cnrs.fr>
    11         -Author:         Joe Mistachkin <joe@mistachkin.com>
    12         -Author:         Donal K. Fellows <donal.k.fellows@manchester.ac.uk>
    13         -Author:         Mark Janssen <mpc.janssen@gmail.com>
    14         -Author:         Reinhard Max <max@tclers.tk>
    15         -Author:         Andreas Leitgeb <avl@logic.at>
    16         -Author:         Andreas Kupries <akupries@shaw.ca>
    17         -Author:         Francois Vogel <fvogelnew1@free.fr>
    18         -Author:         KEVIN KENNY <kevin.b.kenny@gmail.com>
    19         -State:          Draft
    20         -Type:           Informative
    21         -Vote:           Pending
    22         -Created:        03-Dec-2000
    23         -Post-History:   
    24         -
    25         -~ Abstract
    26         -
    27         -This TIP proposes to complete the separation between string and
    28         -numeric comparison operations in [[expr]] and related commands
    29         -([[for]], [[if]], [[while]], etc.). It introduces new comparison
    30         -operators '''ge''', '''gt''', '''le''', and '''lt''', (along with the
    31         -corresponding commands in the '''::tcl::mathop''' namespace), and to
    32         -restrict the six operators '''==''', '''>=''', '''>''', '''<=''',
    33         -'''<''' and '''!=''' to comparisons of numeric values.
    34         -
    35         -~ Rationale
    36         -
    37         -Tcl throughout its history has had comparison operators that freely
    38         -compare numeric and string values. These operators behave as expected
    39         -if both their arguments are numeric: they compare values on the real
    40         -number line. Hence, 15 < 0x10 < 0b10001. Similarly, if presented with
    41         -non-numeric strings, they compare the strings in lexicographic order,
    42         -as a programmer might expect: "bambam" < "barney" < "betty" < "fred".
    43         -
    44         -Trouble arises, however, when numeric and non-numeric strings are
    45         -compared. The rule for comparison is that mixed-type comparisons like
    46         -this are treated as string comparisons. The result is that '''<'''
    47         -does not induce an order. There are inconsistent comparison results,
    48         -rendering '''<''' and friends worthless for sorting. 0x10 < 0y < 1 < 0x10.
    49         -
    50         -The problems with this inconsistency prompted changes in May of 2000,
    51         -introducing '''eq''' and '''ne''' operators that always perform string
    52         -comparison. For whatever reason, the four inequality operations never
    53         -followed. This leads to pitfalls for the unwary. It's fairly well
    54         -entrenched in the Tcl folklore that comparisons other than '''eq'''
    55         -and '''ne''' should be reserved for numeric arguments only, and
    56         -experienced Tcl programmers know to write:
    57         -
    58         -| if {[string compare $x $y] < 0} { ... }
    59         -
    60         -in place of 
    61         -
    62         -| if {$x < $y} { ... }
    63         -
    64         -~ Proposal
    65         -
    66         -Two things are proposed.
    67         -
    68         -   1. [[8.x]] Four new bareword operators, '''ge''', '''gt''', '''le''' and '''lt''' shall be added to the expression parser and to the '''::tcl::mathop''' command set. They will have precedence identical to the existing operators '''>=''', '''>''', '''<=''' and '''<'''. They will accept string values, and return 0 or 1 according to lexicographic string comparison of their operators. This change is entirely backward compatible (it uses syntax that would previously have been erroneous), and should go in as soon as possible - no later than the next point release, but ideally even in a patchlevel - so that programmers can begin conversion as soon as possible. Use of the  '''==''', '''>=''', '''>''', '''<=''', '''<''', and '''!=''' for comparing non-numeric values shall immediately be deprecated.
    69         -
    70         -   2. [[9.0]] Passing of non-numeric values to the '''==''', '''>=''', '''>''', '''<=''', '''<''', and '''!=''' operators (or to their '''tcl::mathop''' equivalents) shall be forbidden and result in an error being thrown.
    71         -
    72         -~ Discussion
    73         -
    74         -~~ Forcing numeric comparisons in today's Tcl
    75         -
    76         -Programmers who wish to prepare for the change, once the four new operators are in place, can adapt places in their code where they wish to force numeric comparisons by replacing expressions of the form:
    77         -
    78         -| if {$x < $y} { ... }
    79         -
    80         -with
    81         -
    82         -| if {+$x < +$y} { ... }
    83         -
    84         -The second comparison will have the effect of forcing both operands to be numeric, and the existing comparison code will then provide the correct semantics.
    85         -
    86         -~~ Deprecation and compatibility
    87         -
    88         -It may be possible to introduce some sort of per-interpreter or
    89         -per-namespace option to control the behaviour of numeric comparisons
    90         -when evaluated in the given interpreter or namespace. The author of
    91         -this TIP has not investigated how such an option might be implemented,
    92         -and encourages those who propose it to do so. Until and unless a
    93         -concrete implementation plan emerges from their investigation, the
    94         -plan is to leave a "backward compatibility" setting out of scope.
    95         -
    96         -In addition, at least one reader of this TIP has requested a setting
    97         -whereby a warning can be delivered that functionality is
    98         -deprecated. Since in the past, we have not been able to identify and
    99         -standardize a mechanism whereby such warnings could be delivered, this
   100         -functionality is also considered to be out of scope.
   101         -
   102         -~~ Rejected alternatives
   103         -
   104         -One possible alternative to excluding non-numeric arguments from the
   105         -comparison operators is to change their semantics so that all
   106         -non-numeric strings are greater than all numbers. This change would at
   107         -least yield a consistent ordering. The ordering that it yields would,
   108         -however, be somewhat surprising, and not terribly useful. (It would at
   109         -least be compatible with today's scheme for numeric comparisons.)
   110         -
   111         -~~ Objections (and rebuttals)
   112         -
   113         -In out-of-band discussions, several objections were raised. This section
   114         -attempts to address them.
   115         -
   116         -   1. Tcl's expression parser has a hard limit of 64 different binary
   117         -      operators. This proposal consumes four of them, leaving only 28.
   118         -      There is a concern that this is a less-than-effective use of a
   119         -      limited resource.
   120         -
   121         -      The limit is self-imposed, in an effort to make the nodes of an
   122         -      expression parse tree fit in exactly 16 bytes (or four int's).
   123         -      It is far from obvious that this pretty size is actually useful.
   124         -      Few expressions are more than a few dozen parse nodes, and
   125         -      typical expressions are not parsed multiple times. It appears
   126         -      that neither the speed of the parse nor the size of the tree
   127         -      will be critical issues in most applications. In any case, we
   128         -      still have nearly half the operators left.
   129         -
   130         -   2. ''There is some concern that using barewords for operators was a
   131         -      bad idea in the first place.'' The fact that
   132         -
   133         -|               expr {"foo"}
   134         -
   135         -      and
   136         -
   137         -|               set x foo; expr {$x}
   138         -
   139         -      both work, while
   140         -
   141         -|               expr {foo}
   142         -
   143         -      is an invalid bareword is arguably surprising.
   144         -
   145         -      Nevertheless, we have committed to the approach with the 'eq',
   146         -      'ne', 'in' and 'ni' operators. These are unlikely to go
   147         -      away. Adding 'lt', 'le', 'gt' and 'ge' will make this problem no
   148         -      better nor worse.
   149         -
   150         -      Moreover, the language of [[expr]] is not the same as Tcl.
   151         -      It does not strip comments, parse into words, and apply Tcl's
   152         -      precise substitution rules - and it would be surprising if it did!
   153         -      There are other 'little languages' throughout Tcl - regular
   154         -      expressions, glob patterns, assembly code, and so on. [[expr]]
   155         -      is one among many.
   156         -
   157         -   3. ''There is concern that [[expr]], which was originally intended
   158         -      almost exclusively for numeric calculations, is being abused
   159         -      with string arguments and possibly string results.''
   160         -
   161         -      The author of this TIP contends that we introduced string values
   162         -      to [[expr]] a long time ago, certainly by the time that the
   163         -      '''eq''', '''ne''', '''in''' and '''ni''' operations were introduced.
   164         -      It is true that the use of numeric conversions in [[expr]]
   165         -      is incoherent, as seen in:
   166         -
   167         -|               % proc tcl::mathfunc::cat {args} { join $args {} }
   168         -|               % expr {cat(0x1,0x2,"a")}
   169         -|               0x10x2a
   170         -|               % expr {cat(0x1)}
   171         -|               1
   172         -
   173         -      (Bug [[e7c21ed678]] is another manifestation of this general
   174         -      problem.) Once again, adding additional string operations
   175         -      that behave, with respect to data types, exactly the same
   176         -      as ones that are already there will neither fix nor exacerbate
   177         -      the general problem.
   178         -
   179         -   4. ''Because [[expr]] has no interpreted form, the operations must
   180         -      have bytecode representations. The space of available bytecodes
   181         -      is under even more pressure than the space of available operators,
   182         -      and must not be squandered on operations that are duplicative
   183         -      of already-available functionality such as [[string compare]]''
   184         -
   185         -      The obvious rebuttal is that [[string compare]] is already
   186         -      bytecoded. There are no new operations required, merely a compiler
   187         -      that is smart enough to emit a short codeburst rather than a
   188         -      single bytecode. As an example, the code for the expression
   189         -
   190         -|               {$x lt $y}
   191         -
   192         -      could be:
   193         -
   194         -|    (0) loadScalar1 %v0        # var "x"
   195         -|    (2) loadScalar1 %v1        # var "y"
   196         -|    (4) strcmp 
   197         -|    (5) push1 0        # "0"
   198         -|    (7) lt 
   199         -
   200         -      For the other string operators, only the last bytecode in the burst
   201         -      would change.  No new bytecode operations are needed. In fact,
   202         -      this codeburst is identical code to that generated for
   203         -
   204         -|               {[string compare $x $y] < 0}