make-input-map ( #shuffle -- assoc )


Vocabulary
compiler.cfg.builder

Inputs
#shufflea #shuffle


Outputs
assocan assoc


Word description
Creates an assoc that maps input values to the shuffle operation to stack locations.

Examples
USING: compiler.cfg.builder prettyprint ; T{ #shuffle { in-d { 37 81 92 } } } make-input-map .
{ { 37 D: 2 } { 81 D: 1 } { 92 D: 0 } }


Definition