|
@@ -6,7 +6,7 @@ from urllib2 import URLError
|
|
|
import sys
|
|
|
|
|
|
# Bind to the compiler (might have to update path manually!)
|
|
|
-sys.path.append("../interface/HUTN")
|
|
|
+sys.path.append("interface/HUTN")
|
|
|
from hutn_compiler.compiler import main as do_compile
|
|
|
|
|
|
# Helper functions and configuration: do not use yourself!
|
|
@@ -43,7 +43,7 @@ def _compile_AL(code):
|
|
|
f.write(code)
|
|
|
f.flush()
|
|
|
|
|
|
- return do_compile("__constraint.alc", "../interface/HUTN/grammars/actionlanguage.g", "CS")
|
|
|
+ return do_compile("__constraint.alc", "interface/HUTN/grammars/actionlanguage.g", "CS")
|
|
|
|
|
|
def _compile_model(code):
|
|
|
# Compile a model and send the compiled graph
|
|
@@ -60,7 +60,7 @@ def _compile_model(code):
|
|
|
f.write(code)
|
|
|
f.flush()
|
|
|
|
|
|
- return do_compile("__model.mvc", "../interface/HUTN/grammars/modelling.g", "M") + ["exit"]
|
|
|
+ return do_compile("__model.mvc", "interface/HUTN/grammars/modelling.g", "M") + ["exit"]
|
|
|
|
|
|
def _output(expected=None):
|
|
|
try:
|