Commit graph

16 commits

Author SHA1 Message Date
ddf6625326 Interpreter - While loops 2023-01-01 18:44:35 +01:00
a671836655 Interpreter - Support for logical or / and 2023-01-01 18:27:45 +01:00
79c594afa9 Interpreter - Fixed == operator. Oops. 2023-01-01 18:27:33 +01:00
9a84283245 Interpreter - If statement 2023-01-01 11:10:48 +01:00
81aef09c5b Interpreter - Additional errors for variables
* Uninitialized variable usage
  * Redefining variables
2023-01-01 10:52:29 +01:00
e92628a4eb Interpreter - Nested environments 2022-12-31 17:27:09 +01:00
d9e3ef2623 Environment - Rc<RefCell<...>> to store the parent 2022-12-31 17:26:40 +01:00
c71bdd8c87 Environment - Attempt at nesting support 2022-12-31 16:56:00 +01:00
f4111577ca Interpreter - Variable assignment 2022-12-31 16:36:29 +01:00
8d6191c7ee Environment - Support for assignment 2022-12-31 16:32:59 +01:00
c486b81cba Interpreter - Support for initializing and using variables 2022-12-31 16:13:40 +01:00
90557e6600 Interpreter - Create and pass the environment when evaluating 2022-12-31 16:01:47 +01:00
8b44af08ba Interpreter - Initial environment implementation 2022-12-31 15:57:54 +01:00
7f94906412 Interpreter - Created environment module 2022-12-31 15:50:23 +01:00
bf6e150085 Interpreter - Split into multiple modules 2022-12-31 15:49:31 +01:00
81b5f27f0a Interpreter - Moved module to subdirectory 2022-12-31 15:45:28 +01:00