package refactor

This commit is contained in:
2018-10-28 02:44:39 -04:00
parent 1c46c2c839
commit 8fc9bb237a
4 changed files with 117 additions and 108 deletions

14
main.py Normal file
View File

@@ -0,0 +1,14 @@
import thue.parser
def main():
with open('testing.ret') as f:
src = f.read()
pgm = thue.parser.compile(src)
res = pgm.run()
print(res)
if __name__ == '__main__':
main()