compile

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2023 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Builtins = initBuitins()
)

Functions

func Compile

func Compile(l *types.List) types.Object

TODO handle priority of operator with parenthesis

Types

type Renderer

type Renderer interface {
	types.Renderer
	jen.Code
	Assert(jen.Code) *jen.Statement
	Dot(string) *jen.Statement
	Index(...jen.Code) *jen.Statement
	Op(string) *jen.Statement
}

match jen types

Jump to

Keyboard shortcuts

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