golang

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package golang provides everything required to run GX from Go.

This includes a bindings generator and GX api in Go.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Tracer

type Tracer struct {
}

Tracer is a default tracer for GX code.

func (Tracer) Trace

func (Tracer) Trace(file *ir.File, call *ir.CallExpr, values []values.Value) error

Trace prints traced values on the standard output.

Directories

Path Synopsis
Package backend implements a backend for GX in Go.
Package backend implements a backend for GX in Go.
graph
Package graph implements a computational graph in GX.
Package graph implements a computational graph in GX.
kernels
Package kernels implement Go kernels for GX.
Package kernels implement Go kernels for GX.
platform
Package platform implements a GX platform for the native Go backend.
Package platform implements a GX platform for the native Go backend.
Package binder generates bindings given a GX package.
Package binder generates bindings given a GX package.
bindings
Package bindings provides abstractions shared by all bindings generators.
Package bindings provides abstractions shared by all bindings generators.
ccbindings
Package ccbindings generates C++ bindings for a GX package.
Package ccbindings generates C++ bindings for a GX package.
ccbindings/fmtpath
Package fmtpath formats paths for C++ generated files.
Package fmtpath formats paths for C++ generated files.
cgx
Package cgx provides an interface for calling into GX from C.
Package cgx provides an interface for calling into GX from C.
cgx/embed
Package embed exposes a builder loading GX files from the files embedded in the binary.
Package embed exposes a builder loading GX files from the files embedded in the binary.
cgx/testing
Package testing provide a cgx runtime for GX testing.
Package testing provide a cgx runtime for GX testing.
cgx/testing/async
Package async tests cgx with concurrent calls.
Package async tests cgx with concurrent calls.
genbind
Utility genbind generates bindings for GX packages.
Utility genbind generates bindings for GX packages.
gobindings
Package gobindings generates Go bindings for a GX package.
Package gobindings generates Go bindings for a GX package.
gobindings/types
Package types defines types used in the Go bindings.
Package types defines types used in the Go bindings.
Package encoding encodes GX structure
Package encoding encodes GX structure
native
Package native fills a GX from Go maps.
Package native fills a GX from Go maps.
Command packager packages GX files into a Go library.
Command packager packages GX files into a Go library.
pkginfo
Package pkginfo extracts information from a gx package folder.
Package pkginfo extracts information from a gx package folder.
Package template runs a template and write the result into a file.
Package template runs a template and write the result into a file.
Package tests includes all the Go bindings tests.
Package tests includes all the Go bindings tests.
basictest
Package basictest tests the Go bindings of the basic GX package.
Package basictest tests the Go bindings of the basic GX package.
cartpoletest
Package cartpoletest tests the Go bindings for cartpole.
Package cartpoletest tests the Go bindings for cartpole.
dtypestest
Package dtypestest tests the Go bindings for all dtypes.
Package dtypestest tests the Go bindings for all dtypes.
importtest
Package importtest tests Go bindings of the import GX package.
Package importtest tests Go bindings of the import GX package.
mathtest
Package mathtest tests constants in the math package.
Package mathtest tests constants in the math package.
parameterstest
Package parameterstest tests the Go bindings of the basic GX package.
Package parameterstest tests the Go bindings of the basic GX package.
pkgvarstest
Package pkgvarstest tests the Go bindings of the basic GX package.
Package pkgvarstest tests the Go bindings of the basic GX package.
randtest
Package randtest tests calling the rand package from GX standard library.
Package randtest tests calling the rand package from GX standard library.
unexportedtest
Package main generates a main function to run all the GX tests of a file.
Package main generates a main function to run all the GX tests of a file.
tools
testsmain
Package main generates a main function to run all the GX tests of a file.
Package main generates a main function to run all the GX tests of a file.

Jump to

Keyboard shortcuts

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