Sha256: b9dc9b06bcbb91efae7121ae6981b9c290efa7a8f0a69a1d06dbe3da6bdd5d8e

Contents?: true

Size: 118 Bytes

Versions: 1

Compression:

Stored size: 118 Bytes

Contents

module Whitespace::ISA
  class Dup < Instruction
    def execute
      vm.vstack.push vm.vstack.top
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
whitespace-ruby-1.0.0 lib/whitespace/instructions/stack_manipulation/dup.rb