moving string to parfait
using parfait::word also rename builtins string to word
This commit is contained in:
@ -71,7 +71,7 @@ module Virtual
|
||||
|
||||
# attr_reader :string
|
||||
def self.compile_string expression , method
|
||||
value = StringConstant.new(expression.string)
|
||||
value = Parfait::Word.new(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