A note on one-pass CASE statement compilation

The traditional syntax and trans]a±ion of the case statement [1] is to index-jump by the value of a selector expression into a jump table. 'The jump table jumps to the selected e.tatement which: in turn, exits the case construct by jumping to the statement f,:,i~ouJing the case statement (see figures 1 and 2). The bookkeeping for building the jump table in… CONTINUE READING