compiler_wat

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2022 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Compiler

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

func New

func New() *Compiler

func (*Compiler) Compile

func (p *Compiler) Compile(prog *loader.Program, target target_spec.Machine) (output string, err error)

func (*Compiler) CompilePkgConst added in v0.3.1

func (p *Compiler) CompilePkgConst(ssaPkg *ssa.Package)

func (*Compiler) CompilePkgFunc added in v0.3.1

func (p *Compiler) CompilePkgFunc(ssaPkg *ssa.Package)

func (*Compiler) CompilePkgGlocal added in v0.3.1

func (p *Compiler) CompilePkgGlocal(ssaPkg *ssa.Package)

Directories

Path Synopsis
wir
wat
WAT 文本格式的模块。
WAT 文本格式的模块。

Jump to

Keyboard shortcuts

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