move soml ast here, now called type as the language is going

This commit is contained in:
Torsten Ruger
2016-12-08 19:38:50 +02:00
parent da553f996f
commit e2236cf703
14 changed files with 291 additions and 7 deletions

View File

@ -70,13 +70,6 @@ module Register
self
end
def parse_and_compile bytes
syntax = Parser::Salama.new.parse_with_debug(bytes, reporter: Parslet::ErrorReporter::Deepest.new)
parts = Parser::Transform.new.apply(syntax)
#puts parts.inspect
Typed.compile( parts )
end
end
# Module function to retrieve singleton