igo

package module
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

README

igo

Yet another interpreter for the Go language

Documentation

Overview

Package igo provides all interfaces for implementing a iGo package from existed Go packages.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToBools

func ToBools(args []interface{}) []bool

ToBools converts []interface{} into []bool.

func ToError

func ToError(v interface{}) error

ToError converts a value into error.

func ToFloat64s added in v0.3.0

func ToFloat64s(args []interface{}) []float64

ToFloat64s converts []interface{} into []float64.

func ToInts added in v0.3.0

func ToInts(args []interface{}) []int

ToInts converts []interface{} into []int.

func ToStrings

func ToStrings(args []interface{}) []string

ToStrings converts []interface{} into []string.

Types

type Context

type Context = exec.Context

A Context represents the context of an executor.

type GoPackage

type GoPackage = exec.GoPackage

GoPackage represents a Go package.

func NewGoPackage

func NewGoPackage(pkgPath string) *GoPackage

NewGoPackage creates a new builtin Go Package.

Directories

Path Synopsis
cmd
igo
internal/base
Package base defines shared basic pieces of the igo command, in particular logging and the Command structure.
Package base defines shared basic pieces of the igo command, in particular logging and the Command structure.
internal/export
Package export implements the “igo export” command.
Package export implements the “igo export” command.
internal/export/srcimporter
Package srcimporter implements importing directly from source files rather than installed packages.
Package srcimporter implements importing directly from source files rather than installed packages.
internal/mod/semver
Package semver implements comparison of semantic version strings.
Package semver implements comparison of semantic version strings.
internal/run
Package run implements the “igo run” command.
Package run implements the “igo run” command.
Package exec defines the specification of a Go+ backend.
Package exec defines the specification of a Go+ backend.
internal
cl
Package cl compiles Go+ syntax trees (ast) into a backend code.
Package cl compiles Go+ syntax trees (ast) into a backend code.
exec/bytecode
Package bytecode implements a bytecode backend for the Go+ language.
Package bytecode implements a bytecode backend for the Go+ language.
lib
builtin
Package builtin provide Go+ builtin stuffs, including builtin constants, types and functions.
Package builtin provide Go+ builtin stuffs, including builtin constants, types and functions.
bytes
Package bytes provide Go+ "bytes" package, as "bytes" package in Go.
Package bytes provide Go+ "bytes" package, as "bytes" package in Go.
flag
Package flag provide Go+ "flag" package, as "flag" package in Go.
Package flag provide Go+ "flag" package, as "flag" package in Go.
fmt
Package fmt provide Go+ "fmt" package, as "fmt" package in Go.
Package fmt provide Go+ "fmt" package, as "fmt" package in Go.
io
Package io provide Go+ "io" package, as "io" package in Go.
Package io provide Go+ "io" package, as "io" package in Go.
io/ioutil
Package ioutil provide Go+ "io/ioutil" package, as "io/ioutil" package in Go.
Package ioutil provide Go+ "io/ioutil" package, as "io/ioutil" package in Go.
log
Package log provide Go+ "log" package, as "log" package in Go.
Package log provide Go+ "log" package, as "log" package in Go.
math
Package math provide Go+ "math" package, as "math" package in Go.
Package math provide Go+ "math" package, as "math" package in Go.
os
Package os provide Go+ "os" package, as "os" package in Go.
Package os provide Go+ "os" package, as "os" package in Go.
reflect
Package reflect provide Go+ "reflect" package, as "reflect" package in Go.
Package reflect provide Go+ "reflect" package, as "reflect" package in Go.
sort
Package sort provide Go+ "sort" package, as "sort" package in Go.
Package sort provide Go+ "sort" package, as "sort" package in Go.
strconv
Package strconv provide Go+ "strconv" package, as "strconv" package in Go.
Package strconv provide Go+ "strconv" package, as "strconv" package in Go.
strings
Package strings provide Go+ "strings" package, as "strings" package in Go.
Package strings provide Go+ "strings" package, as "strings" package in Go.
sync
Package sync provide Go+ "sync" package, as "sync" package in Go.
Package sync provide Go+ "sync" package, as "sync" package in Go.
sync/atomic
Package atomic provide Go+ "sync/atomic" package, as "sync/atomic" package in Go.
Package atomic provide Go+ "sync/atomic" package, as "sync/atomic" package in Go.
time
Package time provide Go+ "time" package, as "time" package in Go.
Package time provide Go+ "time" package, as "time" package in Go.
unsafe
Package unsafe provide Go+ "unsafe" package, as "unsafe" package in Go.
Package unsafe provide Go+ "unsafe" package, as "unsafe" package in Go.

Jump to

Keyboard shortcuts

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