Class: Rpl

Instance Attribute Summary

Attributes inherited from Interpreter

#dictionary, #frame_buffer, #precision, #stack, #version

Instance Method Summary collapse

Methods included from Types

new_object

Methods inherited from Interpreter

#export_stack, #export_vars, #initialize_frame_buffer, #run, #stack_extract

Constructor Details

#initialize(stack = [], dictionary = Dictionary.new) ⇒ Rpl

Returns a new instance of Rpl.



10
11
12
13
14
# File 'lib/rpl.rb', line 10

def initialize( stack = [], dictionary = Dictionary.new )
  super

  populate_dictionary if @dictionary.words.empty?
end

Instance Method Details

#populate_dictionaryObject



36
# File 'lib/rpl.rb', line 36

def populate_dictionary; end