bin/p-lang in p-lang-0.0.4 vs bin/p-lang in p-lang-0.1.0
- old
+ new
@@ -7,9 +7,10 @@
ast = @parser.parse(File.readlines(ARGV[0]).join(""))
if ast
vm = PLang::VM.new(ast.build.collect(&:to_sexp))
+
vm.execute!
else
puts @parser.failure_reason
end
end