Commit graph

23 commits

Author SHA1 Message Date
c36bcf5bc9 Gave Clippy some love 2023-01-17 07:42:36 +01:00
b01ae10d09 Classes - Refactored super handling 2023-01-17 07:13:09 +01:00
4e866165ea Classes - Superclass method accessor 2023-01-17 07:06:38 +01:00
772e8ad64f Classes - Removed a few useless returns 2023-01-17 06:51:28 +01:00
896b0deef7 Classes - Support using members from superclasses
* This includes methods, as per the book, but also getters and setters
2023-01-15 18:44:30 +01:00
214cc6dc25 Classes - May now carry a reference to their superclass 2023-01-15 18:13:51 +01:00
3d55901c51 Classes - Fixed static setters 2023-01-14 17:00:54 +01:00
9627f588d2 Interpreter - Getter/setter execution 2023-01-14 16:07:59 +01:00
c372979009 Interpreter - Refactored method handling to prepare for getters/setters 2023-01-14 15:47:58 +01:00
77f14bfa8e Interpreter - Static methods are returned by the getter 2023-01-13 08:21:18 +01:00
75652b95cf Interpreter - Store static methods inside classes 2023-01-13 08:16:26 +01:00
0ebe2e9f22 Interpreter - Class properties 2023-01-12 07:39:12 +01:00
09b4b4e688 Interpreter - Refactored getter/setter support as a trait on an instance ref 2023-01-11 19:44:52 +01:00
47c4136c25 Interpreter - Refactored instance to avoid runtime borrom problems 2023-01-11 08:21:48 +01:00
3af544a78e Interpreter - Initialize support in instances
* Doesn't work at this point
2023-01-11 07:50:02 +01:00
ecc8f2ec8b Removed various bits of unused code 2023-01-11 07:20:29 +01:00
16151bd326 Actually made "this" work in the interpreter 2023-01-10 09:03:57 +01:00
3e4aea0d78 Interpreter - Working bound methods 2023-01-09 11:19:42 +01:00
542bc56aad Interpreter - Initial implementation of bound methods 2023-01-09 10:50:24 +01:00
58c1bbcf68 Interpreter - Access methods through get expressions 2023-01-09 07:32:50 +01:00
e371217df0 Interpreter - Initialize methods when creating classes 2023-01-09 07:32:29 +01:00
5cfe6d3e5c Interpreter - Set instance properties 2023-01-09 07:10:10 +01:00
728c7a3857 Interpreter - Renamed class submodule to classes 2023-01-08 12:02:45 +01:00
Renamed from src/interpreter/class.rs (Browse further)