Browse Source

Removed useless print statements

Yentl Van Tendeloo 9 years ago
parent
commit
28d3cffb5d

+ 0 - 2
interface/HUTN/hutn_compiler/constructors_object_visitor.py

@@ -49,8 +49,6 @@ class ConstructorsObjectVisitor(ConstructorsVisitor):
     def dump(self):
         v = ConstructorsVisitor.dump(self)
 
-        print("Constructors: " + str(v))
-
         import json
         # Set up interface
         urllib2.urlopen(urllib2.Request("http://localhost:8001/", urllib.urlencode({"op": "set_input", "element_type": "V", "value": '3', "username": self.username}))).read()

+ 0 - 4
interface/HUTN/hutn_compiler/primitives_visitor.py

@@ -111,14 +111,12 @@ class PrimitivesVisitor(Visitor):
         a = self.value("assign")
         var = self.get_primitive(tree.get_tail()[0])
         value = self.get_primitive(tree.get_tail()[-1])
-        print("Value: " + str(value))
         self.dict(a, "var", var)
         self.dict(a, "value", value)
 
         self.set_primitive(tree, a)
 
     def visit_expression(self, tree):
-        print([i.head for i in tree.get_tail()])
         self.forward_primitive_of_child(tree, 0)
 
     def visit_binary_operation(self, tree):
@@ -201,7 +199,6 @@ class PrimitivesVisitor(Visitor):
         self.set_primitive(tree, r)
 
     def visit_func_call(self, tree):
-        print([i.head for i in tree.get_tail()])
         self.visit_children(tree)
 
         symbol = self.get_symbol(tree.get_tail()[0])
@@ -235,7 +232,6 @@ class PrimitivesVisitor(Visitor):
             self.dict(c, "last_param", arg_nodes_reversed[0])
 
         self.set_primitive(tree, c)
-        print("Added " + str(c))
 
     def visit_input(self, tree):
         self.visit_children(tree)