Finished porting the calc engine from C# to Python.
This commit is contained in:
+4
-4
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user