Expand description
Virtual Machine types for executing Muse code.
Muse contains a compiler that generates an Intermediate Representation (IR), and a virtual machine that load and execute the intermediate representation.
These are the types that Muse uses that have both IR and loaded representations:
| IR | Loaded | Purpose |
|---|---|---|
BitcodeBlock | Code | An isolated block of code that can be executed. |
BitcodeFunction | Function | A function definition. |
BitcodeModule | Module | A module definition. |
Modules§
- The Muse intermediate representation (IR).
Structs§
- The number of arguments provided to a function.
- A series of instructions that are ready to execute.
- An asynchronous code execution.
- A Muse function ready for execution.
- A value was given that is not a valid register.
- A Muse module.
- The ID of a module loaded in a virtual machine.
- A virtual machine register index.
- An offset into a virtual machine stack.
- Information about an executing stack frame.
- A virtual machine that executes compiled Muse
Code. - A virtual machine execution context.
- The state of a
Vm.
Enums§
- An error that arises from executing Muse code.
- A virtual machine error.
Traits§
- A set of arguments that can be loaded into a virtual machine when invoking a function.