forked from pmichaud/pmtcl
/
TODO
39 lines (24 loc) · 1.15 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
31
32
33
34
35
36
37
38
39
Big Goals
0. Document how to contribute to this version - ast, tcl, nqp ...
Tasks/Bugs:
2. This should not print anything, but prints "yes", presumably due to
numeric coercion - tcl allows strings to be matched in this way, if
numeric coercion fails {library/init.tcl}
if {[set a not-empty] == ""} {puts yes}
3. [unknown] - invoking a non-existant command should
result in a tcl error, not a parrot error.
{t/tcl_misc.t; t/tcl_catch.t}
5. User-defined procs should catch continue/break and complain about them, as
should the :main PIR sub. {t/cmd_continue.t}
6. tcl-style indexing, (end-...) {t/cmd_string.t}
7. better error messages for list conversion {t/tcl_conversion.t}
8. list elements can be quoted words {t/tcl_backslash.t}
puts [join {"a" b}])
9. regsub -all <exp> <string> <replace>
11. add a glob compiler. (http://www.tcl.tk/man/tcl8.5/TclCmd/string.htm#M40)
*, ?, [], \x (prior art: Tcl::Glob in core.) Needed for [string match]
et al.
12. support associative arrays
13. error on references to non-existant variables
14. [proc] varargs support - need to handle special {args} parameter.
{t/cmd_proc.t}