mirror of https://github.com/t1meshift/js.git
parent
eea056550c
commit
6b4865af8d
|
@ -74,8 +74,7 @@ def main():
|
||||||
ast_tree = from_parse_tree(tree)
|
ast_tree = from_parse_tree(tree)
|
||||||
ascii_ast = to_ascii_tree(ast_tree)
|
ascii_ast = to_ascii_tree(ast_tree)
|
||||||
|
|
||||||
logging.debug("Got an AST!")
|
logging.info("Got an AST!\n%s", ascii_ast)
|
||||||
logging.debug(ascii_ast)
|
|
||||||
# TODO: run logic
|
# TODO: run logic
|
||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
|
|
||||||
|
@ -99,8 +98,8 @@ def main():
|
||||||
ast_tree = from_parse_tree(tree)
|
ast_tree = from_parse_tree(tree)
|
||||||
ascii_ast = to_ascii_tree(ast_tree)
|
ascii_ast = to_ascii_tree(ast_tree)
|
||||||
|
|
||||||
logging.debug("Got an AST!")
|
logging.info("Got an AST!")
|
||||||
logging.debug(ascii_ast)
|
logging.info(ascii_ast)
|
||||||
# TODO: run logic
|
# TODO: run logic
|
||||||
except EOFError:
|
except EOFError:
|
||||||
print("Ctrl-D received, shutting down...")
|
print("Ctrl-D received, shutting down...")
|
||||||
|
|
Loading…
Reference in New Issue