fix word implementation and tests
much better, though wasteful implementation breaks a few tests, but ploughing on first
This commit is contained in:
@ -71,7 +71,7 @@ module Virtual
|
||||
|
||||
# attr_reader :string
|
||||
def self.compile_string expression , method
|
||||
value = Parfait::Word.new(expression.string)
|
||||
value = Parfait.new_word(expression.string)
|
||||
to = Return.new(Reference , value)
|
||||
Machine.instance.space.add_object value
|
||||
method.add_code Set.new( to , value )
|
||||
|
Reference in New Issue
Block a user