exe/rubasteme in rubasteme-0.1.2 vs exe/rubasteme in rubasteme-0.1.3
- old
+ new
@@ -71,11 +71,11 @@
lines = STDIN.readlines(chomp: true)
end
tokens = lines.map{|e| Kernel.eval(e)}
lexer = Rubasteme.lexer(tokens)
-parser = Rubasteme.parser(lexer)
-ast = parser.parse
+parser = Rubasteme.parser
+ast = parser.parse(lexer)
output = ""
PP.pp(ast.to_a, output)
form = opts[:format_type] || :token