Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 32da801af55f3303ed6cb870f2681f3019aa72ccd7663f76f2ea6a9a2c0ff2fe
Ticket: db36fa5122259be74d0ccadd102e076094703052
compiled lindex botches index artihmetic
User & Date: dgp on 2018-03-06 14:48:22
Changes

  1. icomment:
    ...although for these instructions, they can be translated
    into functional equivalents with values in the supported range.
    
    lindex $l end+1
    
    can become
    
    "PUSH $l"
    INST_LIST_INDEX_IMM -1
    
    because taking the value (none, empty) just before
    the start of the list is functionally the same as
    taking the value (none, empty) just after the end
    of the list.
    
  2. login: "dgp"
  3. mimetype: "text/plain"