compiler_wat

package
v0.8.0-test1 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2023 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompileFunc added in v0.6.0

func CompileFunc(f *ssa.Function, prog *loader.Program, tLib *typeLib, module *wir.Module)

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, mainFunc string) (output string, err error)

func (*Compiler) CompilePkgConst

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

func (*Compiler) CompilePkgFunc

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

func (*Compiler) CompilePkgGlobal added in v0.6.0

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

func (*Compiler) CompilePkgType added in v0.6.0

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

func (*Compiler) CompileWsFiles added in v0.6.0

func (p *Compiler) CompileWsFiles(prog *loader.Program)

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