summaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authordkf <dkf@noemail.net>2004-01-18 16:19:02 (GMT)
committerdkf <dkf@noemail.net>2004-01-18 16:19:02 (GMT)
commitdaa6d06916afdf8cb9884b6f5b9eac3edaf93572 (patch)
treefa948ad9dd4df78fe41cf6e4a405ece09de5eabe /ChangeLog
parent7508f5198f93370790e4a8090fc823a4a2c0fb77 (diff)
downloadtcl-daa6d06916afdf8cb9884b6f5b9eac3edaf93572.zip
tcl-daa6d06916afdf8cb9884b6f5b9eac3edaf93572.tar.gz
tcl-daa6d06916afdf8cb9884b6f5b9eac3edaf93572.tar.bz2
Full bytecode compilation for [lassign]
FossilOrigin-Name: 9a1a37c9ae8a0c2d9d0ec664e9850a5c7e944a12
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog16
1 files changed, 14 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 850c649..9c2e53b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,17 @@
+2004-01-18 Donal K. Fellows <donal.k.fellows@man.ac.uk>
+
+ * generic/tclCompile.c, generic/tclCompile.h: Two new opcodes,
+ INST_LIST_INDEX_IMM and INST_LIST_RANGE_IMM, that have operand(s)
+ of new type OPERAND_IDX4 which represents indexes into things like
+ lists (and perhaps other things eventually.)
+ * generic/tclExecute.c (TclExecuteByteCode): Implementation of the
+ new opcodes. INST_LIST_INDEX_IMM does a simple [lindex] with
+ either front- or end-based simple indexing. INST_LIST_RANGE_IMM
+ does an [lrange] with front- or end-based simple indexing for both
+ the reference to the first and last items in the range.
+ * generic/tclCompCmds.c (TclCompileLassignCmd): Generate bytecode
+ for the [lassign] command.
+
2004-01-17 David Gravereaux <davygrvy@pobox.com>
* win/tclWinInit.c: added #pragma comment(lib, "advapi32.lib")
@@ -9,8 +23,6 @@
* generic/tclCmdIL.c (Tcl_LassignObjCmd): Add more shimmering
protection for when the list is also one of the variables.
-2004-01-17 Donal K. Fellows <dkf@users.sf.net>
-
BASIC IMPLEMENTATION OF TIP#57
* generic/tclCmdIL.c (Tcl_LassignObjCmd): Implementation of the
[lassign] command that takes full advantage of Tcl's object API.