Commit Graph

6 Commits

Author SHA1 Message Date
fe2a2e0b2c mie: ctx is now used to query the type of a value
this allows value get_type callbacks to use mie_ctx to obtain mie_type pointers,
rather than having to define their own static versions of the type structs.
2025-04-28 15:40:32 +01:00
f0c72bee81 mie: implement ir generation for message sending 2025-04-17 21:43:02 +01:00
3a67570403 mie: implement value cleanup 2025-04-13 19:25:23 +01:00
e2ba8ab620 mie: implement more ir building functionality 2025-04-13 18:34:02 +01:00
7022b99a64 mie: implement value type initialiser functions 2025-04-11 13:40:54 +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