Commit 8507c7fc authored by Taddeüs Kroes's avatar Taddeüs Kroes

Added TODO comment.

parent 0eadc533
...@@ -35,6 +35,8 @@ def validate(a, b): ...@@ -35,6 +35,8 @@ def validate(a, b):
b = parser.run([b]) b = parser.run([b])
# Evaluate a and b, counting the number of steps # Evaluate a and b, counting the number of steps
# TODO: Optimization: if b is encountered while evaluating a, return
# VALIDATION_SUCCESS
parser.set_root_node(a) parser.set_root_node(a)
A, a_steps = parser.rewrite_and_count_all() A, a_steps = parser.rewrite_and_count_all()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment