Package-level declarations

Types

Link copied to clipboard
class Compiler

A compiler for Metis code. You may not call compileCode more than once.

Link copied to clipboard
typealias FullInsn = Pair<Insn, Span>

A pair of an Insn and a Span.

Link copied to clipboard
class InsnsBuilder(val span: Span)

A builder for Insn lists. Allows for a more readable syntax when building instructions.

Link copied to clipboard

Functions

Link copied to clipboard
inline fun buildInsns(span: Span, block: InsnsBuilder.() -> Unit): List<FullInsn>

Utility function for building instructions.