Commit graph

7 commits

Author SHA1 Message Date
e963868aa7 Interpreter - Value helper methods to run code against instances 2023-01-08 11:57:56 +01:00
d8dba3ac5f Rewrote value storage and implemented class instantiation
* Probably not the last time.
  * Object-like things (functions, classes, etc...) are stored as
    ref-counted cells.
  * Separate data structure for native functions.
  * with_callable() method on value to run specific code on objects
    that are callable
  * Instance type added.
  * Instance construction implemented
2023-01-08 10:40:36 +01:00
f834d84365 Interpreter - Class values 2023-01-07 14:15:04 +01:00
743379c516 Errors refactoring for the iterpreter 2023-01-04 07:49:28 +01:00
0a38903154 I <3 CLIPPY 2023-01-02 18:23:12 +01:00
696a363ec6 Interpreter - Implement PartialEq manually for values 2023-01-02 17:39:31 +01:00
bf6e150085 Interpreter - Split into multiple modules 2022-12-31 15:49:31 +01:00