Commit Graph
222 Commits
Author SHA1 Message Date
Lukasz Baldyga 7c1a4b81ab Fixed stack overflow bug where the Expression referenced itself 2020-11-29 13:06:23 +00:00
Lukasz Baldyga d9fd3d7453 Implemented comparisons
They will help us later with "if" statements
2020-11-29 12:05:33 +00:00
Lukasz Baldyga 3ba3c24b50 Improved the ComparisonValue to act more like BoolValue 2020-11-29 12:04:37 +00:00
Lukasz Baldyga fe53dab235 Made UpdateVariable work 2020-11-29 12:03:50 +00:00
Lukasz Baldyga c74ee42b38 Updated Expression Value to not use drawer parameter 2020-11-29 12:01:44 +00:00
Lukasz Baldyga a0fa3f38ff Updated Strip helper function
I've discovered https://docs.microsoft.com/en-us/dotnet/api/system.string.trim?view=net-5.0
2020-11-29 12:00:48 +00:00
Lukasz Baldyga c726739419 Code clean up 2020-11-29 11:00:52 +00:00
Lukasz Baldyga 9ee1c79795 Updated illegal names 2020-11-29 10:56:37 +00:00
Lukasz Baldyga 42a4917ef9 Fixed bug in ExpressionValue 2020-11-29 10:54:18 +00:00
Lukasz Baldyga 31ad37aa69 Removed strict types 2020-11-29 10:54:07 +00:00
Lukasz Baldyga 5844e489da Created comparison value 2020-11-29 10:05:56 +00:00
Lukasz Baldyga 2b3beffdd4 Better variable declaration 2020-11-29 09:50:06 +00:00
Lukasz Baldyga ccf6e204c6 Updated some Values 2020-11-29 09:49:36 +00:00
Lukasz Baldyga 7f16f31967 Added better expressions 2020-11-29 09:49:13 +00:00
Lukasz Baldyga 7035a3e06e Added a safe catch, just in case 2020-11-29 09:15:23 +00:00
Lukasz Baldyga e6722273a5 Renamed SettingsAndHelperFunctions to HelperFunctions 2020-11-29 08:24:54 +00:00
Lukasz Baldyga b290848034 Refactored Menu controls from Settings And HelperFunctions
a
2020-11-29 08:21:27 +00:00
Lukasz Baldyga 38a40994cf Added a list of disallowed words 2020-11-29 07:46:50 +00:00
Lukasz Baldyga 884acbcde7 Code cleanup 2020-11-28 21:38:52 +00:00
Lukasz Baldyga 7c89cbbe99 Made a new class for parser result 2020-11-28 21:34:32 +00:00
Lukasz Baldyga b38b8aa006 Trying to make UpdateVariable work 2020-11-28 20:46:23 +00:00
Lukasz Baldyga 4899fbf9c8 Updated VerbFactory to allow IValue to be used universally 2020-11-28 20:20:23 +00:00
Lukasz Baldyga 4cad6bc79b Updated ExpressionValue to have public vars 2020-11-28 18:25:39 +00:00
Lukasz Baldyga 52503b5872 Shapes updated to use new IValue interface 2020-11-28 18:24:29 +00:00
Lukasz Baldyga bd23d9e503 Organised files into folders
Moved some files around
2020-11-28 11:11:22 +00:00
Lukasz Baldyga 3708642e35 Changed DrawTo to IValue 2020-11-27 21:05:17 +00:00
Lukasz Baldyga 894c495d70 Converted MoveTo to IValue 2020-11-27 21:04:53 +00:00
Lukasz Baldyga 5024793c3e Added more methods to CreateValue 2020-11-27 21:03:58 +00:00
Lukasz Baldyga 9414f818fd Formatting 2020-11-27 21:03:00 +00:00
Lukasz Baldyga e49732b1c5 Added better constructor 2020-11-27 21:01:21 +00:00
Lukasz Baldyga 3ac8d5b28d Changed more things to IValue 2020-11-27 21:00:36 +00:00
Lukasz Baldyga 055b31c16e Moved ColorValues
Moved ColorValues
2020-11-27 21:00:09 +00:00
Lukasz Baldyga 46804ab01d Added PointValue objects for IValue 2020-11-27 19:47:02 +00:00
Lukasz Baldyga 95ad56f18a Converted some files to IValue instead of primitives 2020-11-27 19:46:36 +00:00
Lukasz Baldyga 17f3f2aae4 Added CreateValue Method 2020-11-27 19:44:32 +00:00
Lukasz Baldyga 227580563e Checks for bad names 2020-11-27 15:35:23 +00:00
Lukasz Baldyga e0ff2ab464 Added Variable Values 2020-11-27 15:16:14 +00:00
Lukasz Baldyga 3a979f8faa Added safe checking 2020-11-27 15:16:03 +00:00
Lukasz Baldyga 6f9083ab6f Added a function that allows checking if items exist 2020-11-27 15:15:28 +00:00
Lukasz Baldyga 50bb6811cd Added VariableValue 2020-11-27 14:20:21 +00:00
Lukasz Baldyga 96d638977f Renamed to ExpressionValue 2020-11-27 14:16:09 +00:00
Lukasz Baldyga 39489ec824 Variables can now be assigned.
Next i need to make it so the variables can be accessed and used by other functions
2020-11-27 11:37:59 +00:00
Lukasz Baldyga 2acb57f229 Added method for updating variables 2020-11-26 12:35:53 +00:00
Lukasz Baldyga 7a4070220d Added UpdateVariable class 2020-11-26 12:34:30 +00:00
Lukasz Baldyga 0711fcad67 Added new entries to ValueFactory 2020-11-26 12:34:19 +00:00
Lukasz Baldyga 5663aca3ea Better InitialiseVariable is now DeclareVariable 2020-11-26 12:33:37 +00:00
Lukasz Baldyga 94e3597f75 Setting changes 2020-11-26 12:32:59 +00:00
Lukasz Baldyga f57d0cc095 Added new conversions 2020-11-26 12:32:41 +00:00
Lukasz Baldyga 9309b975a6 Changed IValue interface 2020-11-26 12:30:34 +00:00
Lukasz Baldyga fbbda5df3b Created the Expression class 2020-11-26 12:29:30 +00:00