8023ea622a
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.
METACOMPUTE INSTRUCTION ENGINE ============================== Mie is an abstract virtual machine and intermediate representation manipulation toolkit. It includes facilities for building, manipulating, and optimising intermediate representations of programs, as well as converting IR to/from different formats. The Mie virtual machine features an infinite amount of memory and registers. A Mie program can be emitted by a simple front-end compiler that makes use of these infinite resources, and Mie's optimisers will convert this program into a form that can efficiently use and re-use a more finite set of resources. Finally, a Mie backend can convert the program into a concrete implementation for a particular system.