Commit Graph

14 Commits

Author SHA1 Message Date
7eae0557af mie: implement sub/mul/div instruction generation 2025-04-14 20:14:28 +01:00
7d619f7ea7 mie: fix a nullptr deref in mie_ctx cleanup 2025-04-14 20:13:13 +01:00
3a67570403 mie: implement value cleanup 2025-04-13 19:25:23 +01:00
2dca43bf25 mie: start implementing ir memory->text conversion 2025-04-13 18:34:28 +01:00
e2ba8ab620 mie: implement more ir building functionality 2025-04-13 18:34:02 +01:00
fbb547e41b mie: name_map can now generate unique names when given no hints 2025-04-11 14:12:53 +01:00
7dbd239bb9 mie.vim: replace sym type name with atom 2025-04-11 13:42:10 +01:00
7022b99a64 mie: implement value type initialiser functions 2025-04-11 13:40:54 +01:00
234c4e9062 mie: add name_map to generate unique value names 2025-04-11 13:40:37 +01:00
14b3d007d3 mie.vim: add highlighting for new instructions and keywords 2025-04-10 12:19:13 +01:00
0db5d0dc2a mie: add lots more mie_value sub-types 2025-04-10 12:18:07 +01:00
f6623883ff mie: add value type hierarchy definitions
every construct within Mie, such as constants, instructions, functions, and translation units, are sub-types of the generic mie_value struct.

mie_value will facilitate iterating through the IR, as well as converting the IR to/from different formats.
2025-04-03 10:50:41 +01:00
6fa0488efe vim: pull IR syntax highlighting into separate vim plugin 2025-04-03 10:42:46 +01:00
445be7f1ee meta: add stub folder for mie ir builder/optimiser 2025-03-26 22:28:06 +00:00