framework for parfait runtime testing
with interpreter for now later with arm exec support
This commit is contained in:
@ -14,7 +14,6 @@ module Register
|
||||
include Collector
|
||||
|
||||
def initialize
|
||||
@parser = Parser::Salama.new
|
||||
@objects = {}
|
||||
@booted = false
|
||||
@constants = []
|
||||
@ -70,7 +69,7 @@ module Register
|
||||
end
|
||||
|
||||
def parse_and_compile bytes
|
||||
syntax = @parser.parse_with_debug(bytes)
|
||||
syntax = Parser::Salama.new.parse_with_debug(bytes)
|
||||
parts = Parser::Transform.new.apply(syntax)
|
||||
#puts parts.inspect
|
||||
Soml.compile( parts )
|
||||
|
Reference in New Issue
Block a user