ソースを参照

Add wrapper for literal text reading

Yentl Van Tendeloo 8 年 前
コミット
d41be5212d

ファイルの差分が大きいため隠しています
+ 1297 - 1297
bootstrap/bootstrap.m


+ 2 - 2
interface/HUTN/hutn_compiler/primitives_visitor.py

@@ -189,8 +189,8 @@ class PrimitivesVisitor(Visitor):
             v = tree.get_text()[1:]
         else:
             v = tree.get_text()
-        #TODO does this work for actions?
-        n = self.value(v)
+        #NOTE Wrap this in an Action, even though it might not be an action: this has to be seen directly in the Mv without additional wrapping
+        n = self.value(Action(v))
         self.dict(c, "node", n)
         self.debug(c, tree)
 

+ 0 - 1
kernel/modelverse_kernel/main.py

@@ -52,7 +52,6 @@ class ModelverseKernel(object):
                                ("RV", [phase]),
                                ("RV", [inst]),
                               ]
-        print(inst_v)
         if self.new_debug is not None:
             self.debug_info, = yield [("RV", [self.new_debug])]