Commit Graph

14 Commits

Author SHA1 Message Date
4f39417d3e Start adding statements 2025-06-29 19:25:08 +01:00
e4723166a2 Rename printer and interpreter to ast_printer and ast_interpreter 2025-06-29 02:18:25 +01:00
e352df9d7d Add expression evaluation 2025-06-29 02:15:10 +01:00
7b8903c19c Add Object.to_string method 2025-06-29 00:19:18 +01:00
b3291a9e3a Add asserts 2025-06-29 00:13:52 +01:00
1c1d754750 Finish parsing expressions 2025-06-28 22:51:02 +01:00
1118e825f3 Switch to macros for better readability and add printer.hh 2025-06-28 18:27:00 +01:00
Abdelrahman Said
a6e129eb12 Update to reduce copying of expressions 2025-06-22 12:39:47 +01:00
Abdelrahman Said
c6f9307253 And that's why I hate C++ 2025-06-21 16:51:35 +01:00
Abdelrahman Said
c78e694f87 Improved solution with inline functions 2025-06-20 23:25:12 +01:00
Abdelrahman Said
de85b0d93c More ergonomic solution using macros, but still needs improvement 2025-06-19 08:23:24 +01:00
56e259d7ed Slightly improved version of the parser 2025-06-18 22:57:52 +01:00
Abdelrahman Said
ae87a3b4a3 A working but clunky solution for expressions 2025-06-09 23:03:03 +01:00
2f0c4be7bf Start implementing the parser 2025-06-09 06:41:14 +01:00