aboutsummaryrefslogtreecommitdiff
path: root/TODO
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2017-08-28 10:03:21 +1000
committerSteve Bennett <steveb@workware.net.au>2017-09-15 19:17:48 +1000
commiteb1918117c0ae5f2b67d441f2ed459718e79cad4 (patch)
tree593d49627e6c26a7158ac32c8a819415cd3ddf91 /TODO
parenta5877cb1c624597f340fe5268c2ff8e61f6de4b0 (diff)
downloadjimtcl-eb1918117c0ae5f2b67d441f2ed459718e79cad4.zip
jimtcl-eb1918117c0ae5f2b67d441f2ed459718e79cad4.tar.gz
jimtcl-eb1918117c0ae5f2b67d441f2ed459718e79cad4.tar.bz2
Implement defer, $jim::defer
Allows commands to run when a proc or interpreter exits. If the $jim::defer variables exists at proc or interp exit, it is treated as a list of scripts to evaluate (in reverse order). The [defer] command is a helper to add scripts to $jim::defer See tests/defer.test Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'TODO')
-rw-r--r--TODO10
1 files changed, 3 insertions, 7 deletions
diff --git a/TODO b/TODO
index fc62aef..68e74fe 100644
--- a/TODO
+++ b/TODO
@@ -1,13 +1,10 @@
CORE LANGUAGE FEATURES
-CORE COMMANDS
+- none
-- [onleave] command, executing something as soon as the current procedure
- returns. With no arguments it returns the script set, with one appends
- the onleave script. There should be a way to reset.
+CORE COMMANDS
- Currently we have [local] which can be used to delete procs on proc exit.
- Also try/on/finally. Is [onleave] really needed?
+- none
OTHER COMMANDS NOT IN TCL BUT THAT SHOULD BE IN JIM
@@ -17,7 +14,6 @@ EXTENSIONS
- Cryptography: hash functions, block ciphers, strim ciphers, PRNGs.
- Tuplespace extension (http://wiki.tcl.tk/3947) (using sqlite as backend)
-- Zlib
- Gdlib
- CGI (interface compatible with ncgi, but possibly written in C for speed)