stdlib

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2026 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SourceModules = map[string]string{}

SourceModules are source type standard library modules.

Functions

func AllModuleNames

func AllModuleNames() []string

func GetModule added in v0.4.1

func GetModule(id int) (core.Value, error)

func GetModuleID added in v0.4.1

func GetModuleID(name string) (uint8, bool)

func GetModuleName added in v0.4.1

func GetModuleName(id uint8) (string, bool)

func InitModule added in v0.4.1

func InitModule(name string, id uint8, cs map[string]core.Value, fns map[uint64]*core.BuiltinFunction)

func RemoveModule added in v0.4.1

func RemoveModule(name string)

Types

type Module added in v0.4.1

type Module struct {
	ID   uint8
	Name string
	Slot uint64
	Body core.Value
}

func GetModuleDefinition added in v0.4.1

func GetModuleDefinition(name string) (*Module, bool)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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