Commit Graph

6 Commits

Author SHA1 Message Date
1431cb7b47 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
4ffe445572 mie: add strict-naming support to mie_name_map
in strict mode, the hint is taken as the required name. if a value already
exists with the given name, the operation fails.
2025-04-22 15:21:30 +01:00
8023ea622a mie: func name and args are now specified separately from func creation
func args are added manually using mie_func_add_arg, while the func's name
is specified when the func is added to a module, to allow the module to generate
a unique name.
2025-04-21 21:10:27 +01:00
5630132a69 mie: add some convenience functions for func, block, and builder 2025-04-14 20:14:44 +01:00
a7233a6cf6 mie: implement value cleanup 2025-04-13 19:25:23 +01:00
deb1232bf9 mie: implement more ir building functionality 2025-04-13 18:34:02 +01:00