You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
from misc.window import *
|
|
|
|
|
|
|
|
app = Window()
|
|
|
|
app.mainloop()
|
|
|
|
|
|
|
|
#from misc.parser import *
|
|
|
|
#from misc.tokenizer import *#
|
|
|
|
|
|
|
|
#while True:
|
|
|
|
# calcul = str(input("Entrez votre calcul en NPI : "))
|
|
|
|
# tokens = tokenize(calcul)
|
|
|
|
# for t in tokens:
|
|
|
|
# print(t.val)
|
|
|
|
# npi = shutting_yard(tokens)
|
|
|
|
# print(npi)
|
|
|
|
# expression = npi2tree(npi)
|
|
|
|
# print("-----------------------")
|
|
|
|
# print(expression)
|
|
|
|
# print("-----------------------")
|
|
|
|
# print(expression.evalue())
|