app

package
v0.4.0-arduino Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2022 License: AGPL-3.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrintLogo(more bool)

Types

type App

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

命令行程序对象

func NewApp

func NewApp(opt *Option) *App

构建命令行程序对象

func (*App) AST

func (p *App) AST(filename string) error

func (*App) CIR

func (p *App) CIR(filename string) error

func (*App) Fmt

func (p *App) Fmt(path string) error

func (*App) GetConfig

func (p *App) GetConfig() *config.Config

func (*App) InitApp

func (p *App) InitApp(name, pkgpath string, update bool) error

func (*App) LLVM

func (p *App) LLVM(infile string, outfile string, target string, debug bool) error

func (*App) Lex

func (p *App) Lex(filename string) error

func (*App) SSA

func (p *App) SSA(filename string) error

func (*App) WASM

func (p *App) WASM(filename string) ([]byte, error)

type Option

type Option struct {
	Debug        bool
	TargetArch   string
	TargetOS     string
	Clang        string
	Llc          string
	LD_StackSize int
	LD_MaxMemory int
}

命令行选项

func (*Option) Config

func (opt *Option) Config() *config.Config

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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