Finished porting the calc engine from C# to Python.

This commit is contained in:
2020-04-08 12:29:26 -05:00
parent 528098d913
commit c42c8471c0
2 changed files with 215 additions and 4 deletions
+4 -4
View File
@@ -1,10 +1,10 @@
import token
def get_tokens_from_expression_string(expression_string):
"""
Takes user input of an actuarial formula and parses the formula to id its components.
:return: tokens (List of objects of CToken class).
"""
#Takes user input of an actuarial formula and parses the formula to id its components.
#:return: tokens (List of objects of CToken class).
tokens = [] # List of objects of CToken class
tmp = ""
parsing_number = False