introducing expressions and constants

not everything statement anymore (as in ruby)
basic statement tests working, rest havoc
This commit is contained in:
Torsten Ruger
2018-03-15 11:24:14 +05:30
parent 163cad456f
commit 78ef1368de
17 changed files with 112 additions and 69 deletions

View File

@ -4,7 +4,7 @@ module Mom
# the a is an instance variable on the current frame, and the frame is an instance
# of the current message, so the effect is something like message.frame.a = 5
# @left: See SlotLoad, an array of symbols
# @right: A Constant from parse, ie an instance of classes in basc_value, like TrueStatement
# @right: A Constant from parse, ie an instance of classes in basc_value, like TrueConstant
class SlotConstant < SlotLoad
def initialize(left , right)