diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2004-01-18 16:19:03 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2004-01-18 16:19:03 (GMT) |
commit | 4d5446b2dadf9bbe0dfc6c385e6c235a529251c5 (patch) | |
tree | fa948ad9dd4df78fe41cf6e4a405ece09de5eabe /ChangeLog | |
parent | 2dbb65a3ede972c2fa6b8527eb2ce3a0ca0bfddc (diff) | |
download | tcl-4d5446b2dadf9bbe0dfc6c385e6c235a529251c5.zip tcl-4d5446b2dadf9bbe0dfc6c385e6c235a529251c5.tar.gz tcl-4d5446b2dadf9bbe0dfc6c385e6c235a529251c5.tar.bz2 |
Full bytecode compilation for [lassign]
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 16 |
1 files changed, 14 insertions, 2 deletions
@@ -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. |