Permalink
Browse files

Show AST nodes in the repl

  • Loading branch information...
Evan Phoenix
Evan Phoenix committed Feb 5, 2011
1 parent df7f732 commit 042f9d63e51e9d9162e2f8deaa430656ab1fa719
Showing with 2 additions and 0 deletions.
  1. +2 −0 bin/repl.rb
View
@@ -14,6 +14,8 @@
next
end
+ pp nodes
+
eval = Prattle::Evaluator.new(nodes, true)
puts "=> #{eval.run.inspect}"
end

0 comments on commit 042f9d6

Please sign in to comment.