A toy lightweight interpreted stack-based virtual machine with implementation in Ruby