glm94
|
20e114e33d
|
Fixed a bug in the tokenizer's 'replace_variables' method that would cause the new token list to hold references to objects in the provided token list.
|
2020-04-14 11:26:38 -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
|
7605bcdf68
|
Forgot to prefx 'self.' to all teh list objects in the Factor object.
|
2020-04-13 01:19:40 -05:00 |
|
glm94
|
39c94aafa9
|
Revised the Factor object.
|
2020-04-13 01:17:39 -05:00 |
|
glm94
|
d1231b062f
|
Changed the JSON generator to generate JSON that includes the correct answer for the expression.
|
2020-04-13 00:05:17 -05:00 |
|
glm94
|
1265f8ac3e
|
Created a small utility program to generate JSON files for testing the main input.
|
2020-04-12 00:03:33 -05:00 |
|
glm94
|
4386b1af99
|
Merged the factoring engine into the project. Un-sure if this object approach will work however. Most likely will need to be redesigned in the future.
|
2020-04-10 16:09:42 -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 |
|
glm94
|
c760dc04b5
|
Ported Lahiru's tokneizer code over. Appears to work fine. Also did some house keeping.
|
2020-04-07 23:54:55 -05:00 |
|
glm94
|
d0e36ff2ce
|
Inital commit.
|
2020-03-09 18:44:02 -05:00 |
|