Documentation
¶
Overview ¶
pkg/stdlib/array.go Array utilities for the Xxlang standard library.
pkg/stdlib/crypto.go Cryptography utilities for the Xxlang standard library. Pure Go implementation using standard library - no CGO required.
pkg/stdlib/io.go I/O utilities for the Xxlang standard library.
pkg/stdlib/json.go JSON utilities for the Xxlang standard library.
pkg/stdlib/math.go Standard library math module.
pkg/stdlib/regex.go Regular expression utilities for the Xxlang standard library. Uses regexp2 for full PCRE support including lookahead/lookbehind.
pkg/stdlib/stdlib.go Standard library modules for Xxlang.
pkg/stdlib/string.go String utilities for the Xxlang standard library.
Index ¶
- Variables
- func Array(elements ...objects.Object) *objects.Array
- func Bool(v bool) *objects.Bool
- func BuiltinFunc(fn func(...objects.Object) objects.Object) *objects.Builtin
- func Error(msg string) *objects.Error
- func Float(v float64) *objects.Float
- func Has(name string) bool
- func Int(v int64) *objects.Int
- func Null() *objects.Null
- func Register(m *Module)
- func String(v string) *objects.String
- type CompiledRegex
- type Module
Constants ¶
This section is empty.
Variables ¶
var Registry = make(map[string]*Module)
Registry holds all registered standard library modules.
Functions ¶
func BuiltinFunc ¶
BuiltinFunc creates a builtin function object.
Types ¶
type CompiledRegex ¶
CompiledRegex represents a compiled regular expression
func (*CompiledRegex) HashKey ¶
func (cr *CompiledRegex) HashKey() objects.HashKey
func (*CompiledRegex) Inspect ¶
func (cr *CompiledRegex) Inspect() string
func (*CompiledRegex) ToBool ¶
func (cr *CompiledRegex) ToBool() *objects.Bool
func (*CompiledRegex) Type ¶
func (cr *CompiledRegex) Type() objects.ObjectType
func (*CompiledRegex) TypeTag ¶
func (cr *CompiledRegex) TypeTag() objects.TypeTag