bit more soml

This commit is contained in:
Torsten Ruger
2015-11-08 00:54:47 +02:00
parent 3e4dcd35c7
commit bcc366f8fd
4 changed files with 9 additions and 2 deletions

View File

@ -141,7 +141,7 @@ module Soml
end
def self.load_parfait
["layout","object"].each do |o|
["word","class","layout","object"].each do |o|
str = File.open(File.expand_path("parfait/#{o}.soml", File.dirname(__FILE__))).read
syntax = Parser::Salama.new.parse_with_debug(str)
parts = Parser::Transform.new.apply(syntax)