more expressions compile
This commit is contained in:
@ -7,6 +7,9 @@ module Ast
|
||||
def initialize val
|
||||
@value = val
|
||||
end
|
||||
def compile context
|
||||
Vm::Signed.new value
|
||||
end
|
||||
def == other
|
||||
compare other , [:value]
|
||||
end
|
||||
|
Reference in New Issue
Block a user