Skip to content
Snippets Groups Projects
Commit 92a0c8cb authored by Pardini, Lorenzo (lopa)'s avatar Pardini, Lorenzo (lopa)
Browse files

fix debug

parent f6687427
No related branches found
No related tags found
No related merge requests found
......@@ -396,13 +396,13 @@ if __name__ == "__main__":
# print 'nameo', name
# Production
# mainFunction(mainFileDescription, metaInfoEnv, parserInfo, cachingLevelForMetaName = cachingLevelForMetaName, superContext=ExcitingParserContext())
mainFunction(mainFileDescription, metaInfoEnv, parserInfo, cachingLevelForMetaName = cachingLevelForMetaName, superContext=ExcitingParserContext())
# Debug
local_backend = LocalBackend(metaInfoEnv)
mainFunction(mainFileDescription, metaInfoEnv, parserInfo, outF=local_backend.fileOut, cachingLevelForMetaName = cachingLevelForMetaName, superContext=ExcitingParserContext(), superBackend=local_backend)
results = local_backend.results
program_name = results["program_name"]
atom_labels = results["atom_labels"]
print(program_name)
print(atom_labels)
# local_backend = LocalBackend(metaInfoEnv)
# mainFunction(mainFileDescription, metaInfoEnv, parserInfo, outF=local_backend.fileOut, cachingLevelForMetaName = cachingLevelForMetaName, superContext=ExcitingParserContext(), superBackend=local_backend)
# results = local_backend.results
# program_name = results["program_name"]
# atom_labels = results["atom_labels"]
# print(program_name)
# print(atom_labels)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment