forked from pmichaud/pmtcl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
TODO
30 lines (24 loc) · 1.17 KB
/
TODO
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Big Goals
* Document how this version works.
Tasks/Bugs:
* [0-9] bracketed expressions. (block for t/cmd_time.t)
http://www.tcl.tk/man/tcl8.5/TclCmd/re_syntax.htm#M30
* regsub -all <exp> <string> <replace>
* Need to throw an exception when trying to convert something to an
integer that isn't. (See partcl's tclstring's to_integer) (blocker for
t/tcl_time.t)
* [expr !<token>]
* support a bare minimum unknown - invoking a non-existant command should
result in a tcl error, not a parrot error. (t/tcl_misc.t)
* list elements can be quoted words. (See puts [join {"a" b}]) - blocking
t/tcl_backslash.t
* [package] (at least as much as partcl has) (blocker for tcltest.tcl)
* support tcl-style indexing, (end-...) (blocking t/cmd_string.t)
* if {[set a not-empty] == ""} {puts yes} (blocking library/init.tcl)
This should not print anything, but prints "yes", presumably due to
integer coercion - tcl allows strings to be matched in this way, if int
coercion is not possible.
* add a glob compiler. (http://www.tcl.tk/man/tcl8.5/TclCmd/string.htm#M40)
*, ?, [], \x (prior art: Tcl::Glob in core.)
* support associative arrays
* error on references to non-existant variables