lib/modl/parser/interpreter.rb in modl-0.3.15 vs lib/modl/parser/interpreter.rb in modl-0.3.16
- old
+ new
@@ -25,10 +25,11 @@
require 'modl/parser/MODLParserListener'
require 'modl/parser/MODLParserVisitor'
require 'modl/parser/MODLLexer'
require 'modl/parser/MODLParser'
require 'modl/parser/class_processor'
+require 'modl/parser/array_processor'
require 'modl/parser/orphan_handler'
require 'modl/parser/parser'
require 'json'
module MODL
@@ -66,9 +67,10 @@
# Convert the Parsed object into a simpler structure of and Array or Hash
interpreted = parsed.extract_hash
# Process any class definitions used by the MODL file.
MODL::Parser::ClassProcessor.process(parsed.global, interpreted)
+ MODL::Parser::ArrayProcessor.process(parsed.global, interpreted)
MODL::Parser::InstructionProcessor.process(parsed.global, interpreted)
# If the result is a simple string then just return it.
interpreted
end
end