Commit Graph
11 Commits
Author SHA1 Message Date
glm94 85d61366a7 Updated the calc_engine to use the deque object for its main token listing. Added more robust support for the power operator. 2020-04-24 01:38:36 -05:00
glm94 c6d063ea35 Commit before attempting to change the backing queue to a deque. 2020-04-24 00:20:26 -05:00
glm94 4750bed929 Fixed a negative number bug in the tokenizer; started work on a new calc_engine. Mostly working as of this commit. 2020-04-23 14:12:17 -05:00
glm94 53f3058194 Merged interactive code to the main program for an upcoming demo, will be reverted back after all that. 2020-04-20 02:13:01 -05:00
glm94 7507db75b3 Tested the Factor Engine, first round of testing passed. Fixed a bug in the JSON_Generator to stop expression variables from being added in reverse. 2020-04-20 00:49:32 -05:00
glm94 58bd836ee2 Changed the token.py to ptoken.py (for Placeholder Token) to avoid naming conflicts with jsonpickle. 2020-04-18 00:31:50 -05:00
glm94 c75905d13c Updated the tokenizer to include a method to replace variable tokens with the values provided in a list. 2020-04-13 09:10:14 -05:00
glm94 9cf6952eb8 Fixed addition and subraction bug in the calc_engine. 2020-04-10 14:34:37 -05:00
glm94 ee9ba528c6 Fixed a bug in the tokenizer to make sure it reverses the list before returning. Fixed up the calc engine, however addition/subtraction bugs still exist. 2020-04-08 15:05:34 -05:00
glm94 c42c8471c0 Finished porting the calc engine from C# to Python. 2020-04-08 12:29:26 -05:00
glm94 528098d913 Updated exceptions to be more fitting, fixed a parse bug in the tokenizer and added the start of the calc engine. 2020-04-08 00:08:20 -05:00