ir

package
v0.33.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 7, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Backend

type Backend struct {
	// contains filtered or unexported fields
}

func NewBackend

func NewBackend(format Format) Backend

func (Backend) EmitExecutable added in v0.33.0

func (b Backend) EmitExecutable(dst string, prog *ir.Program, trace bool) error

func (Backend) EmitLibrary added in v0.33.0

func (b Backend) EmitLibrary(dst string, exports []compiler.LibraryExport, trace bool) error

type Format

type Format string
const (
	FormatJSON    Format = "json"
	FormatYAML    Format = "yaml"
	FormatDOT     Format = "dot"
	FormatMermaid Format = "mermaid"
	FormatThreeJS Format = "threejs"
)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL