Versions in this module Expand all Collapse all v0 v0.7.0 Apr 15, 2022 Changes in this version + const False + const IStopValue + const LangHeader + const LangName + const LangVersion + const LangWebSite + const ModuleCompiledExtension + const ModuleExtension + const NilValue + const STDLibVersion + const TKAdd + const TKAmpersand + const TKAnd + const TKBar + const TKDiv + const TKGE + const TKGT + const TKHat + const TKLE + const TKLShift + const TKLT + const TKMinus + const TKMod + const TKMul + const TKNot + const TKOr + const TKPercent + const TKPower + const TKRShift + const TKTilde + const True + const VMEngineVersion + var BytesInterface = Namespace + var FiberInterface = Namespace + var KindDescription = [...]string + var ListInterface = Namespace + var MapInterface = Namespace + var SetInterface = Namespace + var StringInterface = Namespace + func ArityError(arity, argCount UInt32) error + func ArityErrorInBinaryOperatorOverload() error + func ArityErrorInUnaryOperatorOverload() error + func ArityGeneratorError(method string) error + func AssertionFailure(message string) error + func BytesChangeMustBeWithNumericTypesOnly() error + func CannotDeriveFromValue(value Value) error + func DebugModule(input *bytes.Buffer, script string, stdlib map[string]LibLoader) + func DivisionByZeroError() error + func ExpectedCallableValueInDeferError(value Value) error + func ExpectedIterableValueError(value Value) error + func ExpectedListToSpreadError(value Value) error + func ExpectedTypeAndGotOtherType(expected, got string) error + func ExpectedUnpackableValueError(value Value) error + func IndexOutOfRangeError(length, index Int) error + func InstancesDoNotSupportSubscriptionWriting() error + func IsNotMethodProperty(method, structName string) error + func LoadModule(moduleName string) (*bytes.Buffer, error) + func MethodNotDefined(method string, value Value) error + func MethodNotOverloaded(method, structName string) error + func NameNotDefinedInCompoundDataType(name string, dataStructure Value) error + func NegativeShiftError(op string, lhs, rhs Value) error + func NeverShouldHaveHappened(what string) error + func OperatorNotDefined(op byte, value Value) error + func OverloadedOperatorWithWrongArity(method string, foundArity, must UInt32) error + func PrintCode(input *bytes.Buffer, script string) + func PrintError(err error) + func RangeExpectedIntegerValue(value Value) error + func RangeExpectedPositiveValue(value Value) error + func RangeExpressionError(value Value) error + func RecordPropertyError(key Value) error + func RunModule(input *bytes.Buffer, script string, stdlib map[string]LibLoader) + func RuneOutOfRangeOrIllegal() error + func SelectionOperationNotSupported(value Value) error + func StackOverfloError() error + func TimeModule(input *bytes.Buffer, script string, stdlib map[string]LibLoader) + func TypeErrorInBinaryOperator(op string, lhs, rhs Value) error + func TypeErrorInPrefixOperator(op string, value Value) error + func UnpackCountDoesNotMatchError() error + func ValueDoesNotSupportExtension(value Value) error + func ValueDoesNotSupportSlicing(value Value) error + func ValueDoesNotSupportSubscription(value Value) error + func ValueIsImmutable(value Value) error + func ValueIsNotAnIndexError(value Value) error + func ValueIsNotValueSemantics(value Value) error + func ValueNotHashableError(key Value) error + func VarArgArityError(arity, argCount UInt32) error + func VariableAlreadyDefined(identifier string) error + func VariableNotDefined(identifier string) error + func VidaFprint(w io.Writer, a ...Value) (n int, err error) + func VidaFprintf(w io.Writer, format string, a ...Value) (n int, err error) + func VidaFprintln(w io.Writer, a ...Value) (n int, err error) + func VidaPrintf(format string, a ...Value) (n int, err error) + func VidaSprint(a ...Value) string + func VidaSprintf(format string, a ...Value) string + func VidaSprintln(a ...Value) string + type BInt struct + Value *big.Int + func (b *BInt) BinaryOp(op byte, rhs Value) (Value, error) + func (b *BInt) Clone() Value + func (b *BInt) Description() string + func (b *BInt) Equals(other Value) bool + func (b *BInt) GetMethod(name string) (Value, bool, error) + func (b *BInt) HasMethods() bool + func (b *BInt) IsHashable() bool + func (b *BInt) IsIterable() bool + func (b *BInt) IsValueSemantics() bool + func (b *BInt) MakeHashKey() HashKey + func (b *BInt) MakeIterator() Iterator + func (b *BInt) PrefixOp(op byte) (Value, error) + func (b *BInt) ToInt() Int + func (b *BInt) TypeName() string + type Bool bool + func (b Bool) BinaryOp(op byte, rhs Value) (Value, error) + func (b Bool) Clone() Value + func (b Bool) Description() string + func (b Bool) Equals(other Value) bool + func (b Bool) GetMethod(name string) (Value, bool, error) + func (b Bool) HasMethods() bool + func (b Bool) IsHashable() bool + func (b Bool) IsIterable() bool + func (b Bool) IsValueSemantics() bool + func (b Bool) MakeHashKey() HashKey + func (b Bool) MakeIterator() Iterator + func (b Bool) PrefixOp(op byte) (Value, error) + func (b Bool) TypeName() string + type Byte byte + func (b Byte) BinaryOp(op byte, rhs Value) (Value, error) + func (b Byte) Clone() Value + func (b Byte) Description() string + func (b Byte) Equals(other Value) bool + func (b Byte) GetMethod(name string) (Value, bool, error) + func (b Byte) HasMethods() bool + func (b Byte) IsHashable() bool + func (b Byte) IsIterable() bool + func (b Byte) IsValueSemantics() bool + func (b Byte) MakeHashKey() HashKey + func (b Byte) MakeIterator() Iterator + func (b Byte) PrefixOp(op byte) (Value, error) + func (b Byte) ToInt() Int + func (b Byte) TypeName() string + type Bytecode = uint32 + const OPAppend + const OPBinop + const OPCall + const OPClosure + const OPCompMutDataStructure + const OPCompSetFreeVariable + const OPCompSetGlobal + const OPCompSetLocal + const OPConst + const OPConstNamespace + const OPDefer + const OPDeferInvoke + const OPDerive + const OPEnd + const OPEqual + const OPExtension + const OPFalse + const OPFreeVariable + const OPGetFreeVariable + const OPGetGlobal + const OPGetLocal + const OPGoto + const OPInvokeMethod + const OPJumpIfFalse + const OPList + const OPMap + const OPMatch + const OPMutDataStructure + const OPNewGlobal + const OPNext + const OPNil + const OPNilChoice + const OPNotEqual + const OPPop + const OPPrefix + const OPRange + const OPRecord + const OPReturn + const OPRunDefer + const OPSelect + const OPSetFreeVariable + const OPSetGlobal + const OPSetLocal + const OPStruct + const OPSubscript + const OPTrue + const OPUnpack + const OPUnpackFor + type Bytes struct + Value []byte + func (b *Bytes) BinaryOp(op byte, rhs Value) (Value, error) + func (b *Bytes) Clone() Value + func (b *Bytes) Description() string + func (b *Bytes) Equals(other Value) bool + func (b *Bytes) GetMethod(name string) (Value, bool, error) + func (b *Bytes) HasMethods() bool + func (b *Bytes) IsHashable() bool + func (b *Bytes) IsIterable() bool + func (b *Bytes) IsValueSemantics() bool + func (b *Bytes) MakeHashKey() HashKey + func (b *Bytes) MakeIterator() Iterator + func (b *Bytes) PrefixOp(op byte) (Value, error) + func (b *Bytes) SliceGet(sliceType UInt32, low, high Value) (Value, error) + func (b *Bytes) SliceSet(sliceType UInt32, low, high, value Value) error + func (b *Bytes) SubscriptGet(index Value) (Value, error) + func (b *Bytes) SubscriptSet(index, value Value) error + func (b *Bytes) TypeName() string + type BytesIterator struct + EndIndex Int + Index Int + IsRange bool + Object *Bytes + func NewBytesIterator(bytes *Bytes, isrange bool) *BytesIterator + func (iter *BytesIterator) BinaryOp(op byte, rhs Value) (Value, error) + func (iter *BytesIterator) Clone() Value + func (iter *BytesIterator) Description() string + func (iter *BytesIterator) Equals(other Value) bool + func (iter *BytesIterator) Exhausted() bool + func (iter *BytesIterator) GetMethod(name string) (Value, bool, error) + func (iter *BytesIterator) HasMethods() bool + func (iter *BytesIterator) IsHashable() bool + func (iter *BytesIterator) IsIterable() bool + func (iter *BytesIterator) IsValueSemantics() bool + func (iter *BytesIterator) MakeHashKey() HashKey + func (iter *BytesIterator) MakeIterator() Iterator + func (iter *BytesIterator) Next() Value + func (iter *BytesIterator) PrefixOp(op byte) (Value, error) + func (iter *BytesIterator) TypeName() string + type Closure struct + FreeVars []Value + Function *Function + StructID UInt + func (closure Closure) BinaryOp(op byte, rhs Value) (Value, error) + func (closure Closure) Clone() Value + func (closure Closure) Description() string + func (closure Closure) Equals(other Value) bool + func (closure Closure) GetMethod(name string) (Value, bool, error) + func (closure Closure) HasMethods() bool + func (closure Closure) IsHashable() bool + func (closure Closure) IsIterable() bool + func (closure Closure) IsValueSemantics() bool + func (closure Closure) MakeHashKey() HashKey + func (closure Closure) MakeIterator() Iterator + func (closure Closure) PrefixOp(op byte) (Value, error) + func (closure Closure) TypeName() string + type Complex complex128 + func (z Complex) BinaryOp(op byte, rhs Value) (Value, error) + func (z Complex) Clone() Value + func (z Complex) Description() string + func (z Complex) Equals(other Value) bool + func (z Complex) GetMethod(name string) (Value, bool, error) + func (z Complex) HasMethods() bool + func (z Complex) IsHashable() bool + func (z Complex) IsIterable() bool + func (z Complex) IsValueSemantics() bool + func (z Complex) MakeHashKey() HashKey + func (z Complex) MakeIterator() Iterator + func (z Complex) PrefixOp(op byte) (Value, error) + func (z Complex) TypeName() string + type Fiber struct + func (fiber *Fiber) BinaryOp(op byte, rhs Value) (Value, error) + func (fiber *Fiber) Clone() Value + func (fiber *Fiber) Equals(other Value) bool + func (fiber *Fiber) GetMethod(name string) (Value, bool, error) + func (fiber *Fiber) HasMethods() bool + func (fiber *Fiber) IsHashable() bool + func (fiber *Fiber) IsIterable() bool + func (fiber *Fiber) IsValueSemantics() bool + func (fiber *Fiber) MakeHashKey() HashKey + func (fiber *Fiber) MakeIterator() Iterator + func (fiber *Fiber) PrefixOp(op byte) (Value, error) + func (fiber Fiber) Description() string + func (fiber Fiber) TypeName() string + type Float float64 + func (f Float) BinaryOp(op byte, rhs Value) (Value, error) + func (f Float) Clone() Value + func (f Float) Description() string + func (f Float) Equals(other Value) bool + func (f Float) GetMethod(name string) (Value, bool, error) + func (f Float) HasMethods() bool + func (f Float) IsHashable() bool + func (f Float) IsIterable() bool + func (f Float) IsValueSemantics() bool + func (f Float) MakeHashKey() HashKey + func (f Float) MakeIterator() Iterator + func (f Float) PrefixOp(op byte) (Value, error) + func (f Float) TypeName() string + type Frame struct + type Function struct + Arity UInt32 + CanAccessPrivateState bool + Code []Bytecode + Constants []Value + FreeVarCount Bytecode + Lines map[UInt32]UInt32 + ModuleName string + Name string + Vararg bool + func (function Function) BinaryOp(op byte, rhs Value) (Value, error) + func (function Function) Clone() Value + func (function Function) Description() string + func (function Function) Equals(other Value) bool + func (function Function) GetMethod(name string) (Value, bool, error) + func (function Function) HasMethods() bool + func (function Function) IsHashable() bool + func (function Function) IsIterable() bool + func (function Function) IsValueSemantics() bool + func (function Function) MakeHashKey() HashKey + func (function Function) MakeIterator() Iterator + func (function Function) PrefixOp(op byte) (Value, error) + func (function Function) TypeName() string + type GFunction struct + Name string + Value func(args ...Value) (Value, error) + func (gf GFunction) BinaryOp(op byte, rhs Value) (Value, error) + func (gf GFunction) Clone() Value + func (gf GFunction) Description() string + func (gf GFunction) Equals(other Value) bool + func (gf GFunction) GetMethod(name string) (Value, bool, error) + func (gf GFunction) HasMethods() bool + func (gf GFunction) IsHashable() bool + func (gf GFunction) IsIterable() bool + func (gf GFunction) IsValueSemantics() bool + func (gf GFunction) MakeHashKey() HashKey + func (gf GFunction) MakeIterator() Iterator + func (gf GFunction) PrefixOp(op byte) (Value, error) + func (gf GFunction) TypeName() string + type GModule struct + Name string + Namespace Namespace + func (mod GModule) BinaryOp(op byte, rhs Value) (Value, error) + func (mod GModule) Clone() Value + func (mod GModule) Equals(other Value) bool + func (mod GModule) GetMethod(name string) (Value, bool, error) + func (mod GModule) GetModuleName() string + func (mod GModule) HasMethods() bool + func (mod GModule) IsGModule() bool + func (mod GModule) IsHashable() bool + func (mod GModule) IsIterable() bool + func (mod GModule) IsVModule() bool + func (mod GModule) IsValueSemantics() bool + func (mod GModule) MakeHashKey() HashKey + func (mod GModule) MakeIterator() Iterator + func (mod GModule) PrefixOp(op byte) (Value, error) + func (mod GModule) SelectorGet(field string) (Value, error) + func (mod GModule) SelectorSet(string, Value) error + func (mod GModule) TypeName() string + func (module GModule) Description() string + type Global struct + type HashKey struct + Type string + ValueDescription string + func (hash HashKey) BinaryOp(op byte, rhs Value) (Value, error) + func (hash HashKey) Clone() Value + func (hash HashKey) Description() string + func (hash HashKey) Equals(other Value) bool + func (hash HashKey) GetMethod(name string) (Value, bool, error) + func (hash HashKey) HasMethods() bool + func (hash HashKey) IsHashable() bool + func (hash HashKey) IsIterable() bool + func (hash HashKey) IsValueSemantics() bool + func (hash HashKey) MakeHashKey() HashKey + func (hash HashKey) MakeIterator() Iterator + func (hash HashKey) PrefixOp(op byte) (Value, error) + func (hash HashKey) TypeName() string + type IStop byte + func (eof IStop) Description() string + func (istop IStop) BinaryOp(op byte, rhs Value) (Value, error) + func (istop IStop) Clone() Value + func (istop IStop) Equals(other Value) bool + func (istop IStop) GetMethod(name string) (Value, bool, error) + func (istop IStop) HasMethods() bool + func (istop IStop) IsHashable() bool + func (istop IStop) IsIterable() bool + func (istop IStop) IsValueSemantics() bool + func (istop IStop) MakeHashKey() HashKey + func (istop IStop) MakeIterator() Iterator + func (istop IStop) PrefixOp(op byte) (Value, error) + func (istop IStop) TypeName() string + type Importable interface + GetModuleName func() string + IsGModule func() bool + IsVModule func() bool + type Instance struct + Id UInt + Private Namespace + Public Namespace + Struct *Struct + func (instance Instance) BinaryOp(op byte, rhs Value) (Value, error) + func (instance Instance) Clone() Value + func (instance Instance) Description() string + func (instance Instance) Equals(other Value) bool + func (instance Instance) GetMethod(name string) (Value, bool, error) + func (instance Instance) HasMethods() bool + func (instance Instance) IsHashable() bool + func (instance Instance) IsIterable() bool + func (instance Instance) IsValueSemantics() bool + func (instance Instance) MakeHashKey() HashKey + func (instance Instance) MakeIterator() Iterator + func (instance Instance) PrefixOp(op byte) (Value, error) + func (instance Instance) SelectorGet(field string) (Value, error) + func (instance Instance) SelectorSet(property string, value Value) error + func (instance Instance) SubscriptGet(index Value) (Value, error) + func (instance Instance) SubscriptSet(index, value Value) error + func (instance Instance) TypeName() string + type Int int64 + func (integer Int) BinaryOp(op byte, rhs Value) (Value, error) + func (integer Int) Clone() Value + func (integer Int) Description() string + func (integer Int) Equals(other Value) bool + func (integer Int) GetMethod(name string) (Value, bool, error) + func (integer Int) HasMethods() bool + func (integer Int) IsHashable() bool + func (integer Int) IsIterable() bool + func (integer Int) IsValueSemantics() bool + func (integer Int) MakeHashKey() HashKey + func (integer Int) MakeIterator() Iterator + func (integer Int) PrefixOp(op byte) (Value, error) + func (integer Int) ToInt() Int + func (integer Int) TypeName() string + type Int32 = int32 + type IntegerNumber interface + ToInt func() Int + type Iterator interface + Exhausted func() bool + Next func() Value + type LibLoader func() Importable + type List struct + Elements []Value + func (list *List) BinaryOp(op byte, rhs Value) (Value, error) + func (list *List) Clone() Value + func (list *List) Description() string + func (list *List) Equals(other Value) bool + func (list *List) GetMethod(name string) (Value, bool, error) + func (list *List) HasMethods() bool + func (list *List) IsHashable() bool + func (list *List) IsIterable() bool + func (list *List) IsValueSemantics() bool + func (list *List) MakeHashKey() HashKey + func (list *List) MakeIterator() Iterator + func (list *List) PrefixOp(op byte) (Value, error) + func (list *List) SliceGet(sliceType UInt32, low, high Value) (Value, error) + func (list *List) SliceSet(sliceType UInt32, low, high, value Value) error + func (list *List) SubscriptGet(index Value) (Value, error) + func (list *List) SubscriptSet(index, value Value) error + func (list *List) TypeName() string + type ListIterator struct + EndIndex Int + Index Int + IsRange bool + Object *List + func NewListIterator(list *List, isrange bool) *ListIterator + func (iter *ListIterator) BinaryOp(op byte, rhs Value) (Value, error) + func (iter *ListIterator) Clone() Value + func (iter *ListIterator) Description() string + func (iter *ListIterator) Equals(other Value) bool + func (iter *ListIterator) Exhausted() bool + func (iter *ListIterator) GetMethod(name string) (Value, bool, error) + func (iter *ListIterator) HasMethods() bool + func (iter *ListIterator) IsHashable() bool + func (iter *ListIterator) IsIterable() bool + func (iter *ListIterator) IsValueSemantics() bool + func (iter *ListIterator) MakeHashKey() HashKey + func (iter *ListIterator) MakeIterator() Iterator + func (iter *ListIterator) Next() Value + func (iter *ListIterator) PrefixOp(op byte) (Value, error) + func (iter *ListIterator) TypeName() string + type Map map[HashKey]Pair + func (m Map) BinaryOp(op byte, rhs Value) (Value, error) + func (m Map) Clone() Value + func (m Map) Description() string + func (m Map) Equals(other Value) bool + func (m Map) GetMethod(name string) (Value, bool, error) + func (m Map) HasMethods() bool + func (m Map) IsHashable() bool + func (m Map) IsIterable() bool + func (m Map) IsValueSemantics() bool + func (m Map) MakeHashKey() HashKey + func (m Map) MakeIterator() Iterator + func (m Map) PrefixOp(op byte) (Value, error) + func (m Map) SubscriptGet(index Value) (Value, error) + func (m Map) SubscriptSet(index, value Value) error + func (m Map) TypeName() string + type MapIterator struct + EndIndex Int + Index Int + IsRange bool + Keys []HashKey + Object Map + func NewMapIterator(mmap Map, isrange bool) *MapIterator + func (iter *MapIterator) BinaryOp(op byte, rhs Value) (Value, error) + func (iter *MapIterator) Clone() Value + func (iter *MapIterator) Description() string + func (iter *MapIterator) Equals(other Value) bool + func (iter *MapIterator) Exhausted() bool + func (iter *MapIterator) GetMethod(name string) (Value, bool, error) + func (iter *MapIterator) HasMethods() bool + func (iter *MapIterator) IsHashable() bool + func (iter *MapIterator) IsIterable() bool + func (iter *MapIterator) IsValueSemantics() bool + func (iter *MapIterator) MakeHashKey() HashKey + func (iter *MapIterator) MakeIterator() Iterator + func (iter *MapIterator) Next() Value + func (iter *MapIterator) PrefixOp(op byte) (Value, error) + func (iter *MapIterator) TypeName() string + type NamedConstants struct + Constants Namespace + Indexes map[Bytecode]string + Name string + func (constants NamedConstants) BinaryOp(op byte, rhs Value) (Value, error) + func (constants NamedConstants) Clone() Value + func (constants NamedConstants) Description() string + func (constants NamedConstants) Equals(other Value) bool + func (constants NamedConstants) GetMethod(name string) (Value, bool, error) + func (constants NamedConstants) HasMethods() bool + func (constants NamedConstants) IsHashable() bool + func (constants NamedConstants) IsIterable() bool + func (constants NamedConstants) IsValueSemantics() bool + func (constants NamedConstants) MakeHashKey() HashKey + func (constants NamedConstants) MakeIterator() Iterator + func (constants NamedConstants) PrefixOp(op byte) (Value, error) + func (constants NamedConstants) SelectorGet(field string) (Value, error) + func (constants NamedConstants) SelectorSet(string, Value) error + func (constants NamedConstants) TypeName() string + type Namespace = map[string]Value + type Nil byte + func (n Nil) BinaryOp(op byte, rhs Value) (Value, error) + func (n Nil) Clone() Value + func (n Nil) Description() string + func (n Nil) Equals(other Value) bool + func (n Nil) GetMethod(name string) (Value, bool, error) + func (n Nil) HasMethods() bool + func (n Nil) IsHashable() bool + func (n Nil) IsIterable() bool + func (n Nil) IsValueSemantics() bool + func (n Nil) MakeHashKey() HashKey + func (n Nil) MakeIterator() Iterator + func (n Nil) PrefixOp(op byte) (Value, error) + func (n Nil) TypeName() string + type NumericIterator struct + End Int + Step Int + TowardsRight Bool + Value Int + func NewRange(value, end, step Int, towardsRight Bool) *NumericIterator + func (iter *NumericIterator) BinaryOp(op byte, rhs Value) (Value, error) + func (iter *NumericIterator) Clone() Value + func (iter *NumericIterator) Description() string + func (iter *NumericIterator) Equals(other Value) bool + func (iter *NumericIterator) Exhausted() bool + func (iter *NumericIterator) GetMethod(name string) (Value, bool, error) + func (iter *NumericIterator) HasMethods() bool + func (iter *NumericIterator) IsHashable() bool + func (iter *NumericIterator) IsIterable() bool + func (iter *NumericIterator) IsValueSemantics() bool + func (iter *NumericIterator) MakeHashKey() HashKey + func (iter *NumericIterator) MakeIterator() Iterator + func (iter *NumericIterator) Next() Value + func (iter *NumericIterator) PrefixOp(op byte) (Value, error) + func (iter *NumericIterator) TypeName() string + type Pair struct + func (pair Pair) BinaryOp(op byte, rhs Value) (Value, error) + func (pair Pair) Clone() Value + func (pair Pair) Description() string + func (pair Pair) Equals(other Value) bool + func (pair Pair) GetMethod(name string) (Value, bool, error) + func (pair Pair) HasMethods() bool + func (pair Pair) IsHashable() bool + func (pair Pair) IsIterable() bool + func (pair Pair) IsValueSemantics() bool + func (pair Pair) MakeHashKey() HashKey + func (pair Pair) MakeIterator() Iterator + func (pair Pair) PrefixOp(op byte) (Value, error) + func (pair Pair) SelectorGet(field string) (Value, error) + func (pair Pair) SelectorSet(string, Value) error + func (pair Pair) TypeName() string + type Rational struct + Value *big.Rat + func (rat *Rational) BinaryOp(op byte, rhs Value) (Value, error) + func (rat *Rational) Clone() Value + func (rat *Rational) Description() string + func (rat *Rational) Equals(other Value) bool + func (rat *Rational) GetMethod(name string) (Value, bool, error) + func (rat *Rational) HasMethods() bool + func (rat *Rational) IsHashable() bool + func (rat *Rational) IsIterable() bool + func (rat *Rational) IsValueSemantics() bool + func (rat *Rational) MakeHashKey() HashKey + func (rat *Rational) MakeIterator() Iterator + func (rat *Rational) PrefixOp(op byte) (Value, error) + func (rat *Rational) TypeName() string + type Record struct + Properties Namespace + func (record Record) BinaryOp(op byte, rhs Value) (Value, error) + func (record Record) Clone() Value + func (record Record) Description() string + func (record Record) Equals(other Value) bool + func (record Record) GetMethod(name string) (Value, bool, error) + func (record Record) HasMethods() bool + func (record Record) IsHashable() bool + func (record Record) IsIterable() bool + func (record Record) IsValueSemantics() bool + func (record Record) MakeHashKey() HashKey + func (record Record) MakeIterator() Iterator + func (record Record) PrefixOp(op byte) (Value, error) + func (record Record) SelectorGet(field string) (Value, error) + func (record Record) SelectorSet(property string, value Value) error + func (record Record) SubscriptGet(index Value) (Value, error) + func (record Record) SubscriptSet(index, value Value) error + func (record Record) TypeName() string + type RecordIterator struct + EndIndex Int + Index Int + IsRange bool + Keys []string + Object *Record + func NewRecordIterator(record Record, isrange bool) *RecordIterator + func (iter *RecordIterator) BinaryOp(op byte, rhs Value) (Value, error) + func (iter *RecordIterator) Clone() Value + func (iter *RecordIterator) Description() string + func (iter *RecordIterator) Equals(other Value) bool + func (iter *RecordIterator) Exhausted() bool + func (iter *RecordIterator) GetMethod(name string) (Value, bool, error) + func (iter *RecordIterator) HasMethods() bool + func (iter *RecordIterator) IsHashable() bool + func (iter *RecordIterator) IsIterable() bool + func (iter *RecordIterator) IsValueSemantics() bool + func (iter *RecordIterator) MakeHashKey() HashKey + func (iter *RecordIterator) MakeIterator() Iterator + func (iter *RecordIterator) Next() Value + func (iter *RecordIterator) PrefixOp(op byte) (Value, error) + func (iter *RecordIterator) TypeName() string + type Repl struct + func NewRepl(moduleName string, stdlib map[string]LibLoader) *Repl + func (repl *Repl) Eval(code string, showCode bool) (err error) + type Result struct + Error Value + Value Value + func (result Result) BinaryOp(op byte, rhs Value) (Value, error) + func (result Result) Clone() Value + func (result Result) Description() string + func (result Result) Equals(other Value) bool + func (result Result) GetMethod(name string) (Value, bool, error) + func (result Result) HasMethods() bool + func (result Result) IsHashable() bool + func (result Result) IsIterable() bool + func (result Result) IsValueSemantics() bool + func (result Result) MakeHashKey() HashKey + func (result Result) MakeIterator() Iterator + func (result Result) PrefixOp(op byte) (Value, error) + func (result Result) SelectorGet(field string) (Value, error) + func (result Result) SelectorSet(string, Value) error + func (result Result) TypeName() string + type Rune rune + func (r Rune) BinaryOp(op byte, rhs Value) (Value, error) + func (r Rune) Clone() Value + func (r Rune) Description() string + func (r Rune) Equals(other Value) bool + func (r Rune) GetMethod(name string) (Value, bool, error) + func (r Rune) HasMethods() bool + func (r Rune) IsHashable() bool + func (r Rune) IsIterable() bool + func (r Rune) IsValueSemantics() bool + func (r Rune) MakeHashKey() HashKey + func (r Rune) MakeIterator() Iterator + func (r Rune) PrefixOp(op byte) (Value, error) + func (r Rune) TypeName() string + type SelectorOperable interface + SelectorGet func(string) (Value, error) + SelectorSet func(string, Value) error + type Set map[HashKey]Value + func (set Set) BinaryOp(op byte, rhs Value) (Value, error) + func (set Set) Clone() Value + func (set Set) Description() string + func (set Set) Equals(other Value) bool + func (set Set) GetMethod(name string) (Value, bool, error) + func (set Set) HasMethods() bool + func (set Set) IsHashable() bool + func (set Set) IsIterable() bool + func (set Set) IsValueSemantics() bool + func (set Set) MakeHashKey() HashKey + func (set Set) MakeIterator() Iterator + func (set Set) PrefixOp(op byte) (Value, error) + func (set Set) TypeName() string + type SetIterator struct + EndIndex Int + Index Int + IsRange bool + Keys []HashKey + Object Set + func NewSetIterator(set Set, isrange bool) *SetIterator + func (iter *SetIterator) BinaryOp(op byte, rhs Value) (Value, error) + func (iter *SetIterator) Clone() Value + func (iter *SetIterator) Description() string + func (iter *SetIterator) Equals(other Value) bool + func (iter *SetIterator) Exhausted() bool + func (iter *SetIterator) GetMethod(name string) (Value, bool, error) + func (iter *SetIterator) HasMethods() bool + func (iter *SetIterator) IsHashable() bool + func (iter *SetIterator) IsIterable() bool + func (iter *SetIterator) IsValueSemantics() bool + func (iter *SetIterator) MakeHashKey() HashKey + func (iter *SetIterator) MakeIterator() Iterator + func (iter *SetIterator) Next() Value + func (iter *SetIterator) PrefixOp(op byte) (Value, error) + func (iter *SetIterator) TypeName() string + type SliceOperable interface + SliceGet func(UInt32, Value, Value) (Value, error) + SliceSet func(UInt32, Value, Value, Value) error + type String struct + Runes []rune + Value string + func (s *String) BinaryOp(op byte, rhs Value) (Value, error) + func (s *String) Clone() Value + func (s *String) Description() string + func (s *String) Equals(other Value) bool + func (s *String) GetMethod(name string) (Value, bool, error) + func (s *String) HasMethods() bool + func (s *String) IsHashable() bool + func (s *String) IsIterable() bool + func (s *String) IsValueSemantics() bool + func (s *String) MakeHashKey() HashKey + func (s *String) MakeIterator() Iterator + func (s *String) PrefixOp(op byte) (Value, error) + func (s *String) SliceGet(sliceType UInt32, low, high Value) (Value, error) + func (s *String) SliceSet(sliceType UInt32, low, high, value Value) error + func (s *String) SubscriptGet(index Value) (Value, error) + func (s *String) SubscriptSet(index, value Value) error + func (s *String) TypeName() string + type StringIterator struct + EndIndex Int + IsRange bool + Object *String + RuneIndex Int + func NewStringIterator(str *String, isrange bool) *StringIterator + func (iter *StringIterator) BinaryOp(op byte, rhs Value) (Value, error) + func (iter *StringIterator) Clone() Value + func (iter *StringIterator) Description() string + func (iter *StringIterator) Equals(other Value) bool + func (iter *StringIterator) Exhausted() bool + func (iter *StringIterator) GetMethod(name string) (Value, bool, error) + func (iter *StringIterator) HasMethods() bool + func (iter *StringIterator) IsHashable() bool + func (iter *StringIterator) IsIterable() bool + func (iter *StringIterator) IsValueSemantics() bool + func (iter *StringIterator) MakeHashKey() HashKey + func (iter *StringIterator) MakeIterator() Iterator + func (iter *StringIterator) Next() Value + func (iter *StringIterator) PrefixOp(op byte) (Value, error) + func (iter *StringIterator) TypeName() string + type Struct struct + Id UInt + Methods Namespace + Name string + Private Namespace + Public Namespace + func (s Struct) BinaryOp(op byte, rhs Value) (Value, error) + func (s Struct) Clone() Value + func (s Struct) Description() string + func (s Struct) Equals(other Value) bool + func (s Struct) GetMethod(name string) (Value, bool, error) + func (s Struct) HasMethods() bool + func (s Struct) IsHashable() bool + func (s Struct) IsIterable() bool + func (s Struct) IsValueSemantics() bool + func (s Struct) MakeHashKey() HashKey + func (s Struct) MakeIterator() Iterator + func (s Struct) PrefixOp(op byte) (Value, error) + func (s Struct) SelectorGet(field string) (Value, error) + func (s Struct) SelectorSet(string, Value) error + func (s Struct) TypeName() string + type SubscriptOperable interface + SubscriptGet func(Value) (Value, error) + SubscriptSet func(Value, Value) error + type Tuple struct + func (tuple Tuple) BinaryOp(op byte, rhs Value) (Value, error) + func (tuple Tuple) Clone() Value + func (tuple Tuple) Description() string + func (tuple Tuple) Equals(other Value) bool + func (tuple Tuple) GetMethod(name string) (Value, bool, error) + func (tuple Tuple) HasMethods() bool + func (tuple Tuple) IsHashable() bool + func (tuple Tuple) IsIterable() bool + func (tuple Tuple) IsValueSemantics() bool + func (tuple Tuple) MakeHashKey() HashKey + func (tuple Tuple) MakeIterator() Iterator + func (tuple Tuple) PrefixOp(op byte) (Value, error) + func (tuple Tuple) SelectorGet(field string) (Value, error) + func (tuple Tuple) SelectorSet(string, Value) error + func (tuple Tuple) TypeName() string + type UInt uint64 + func (u UInt) BinaryOp(op byte, rhs Value) (Value, error) + func (u UInt) Clone() Value + func (u UInt) Description() string + func (u UInt) Equals(other Value) bool + func (u UInt) GetMethod(name string) (Value, bool, error) + func (u UInt) HasMethods() bool + func (u UInt) IsHashable() bool + func (u UInt) IsIterable() bool + func (u UInt) IsValueSemantics() bool + func (u UInt) MakeHashKey() HashKey + func (u UInt) MakeIterator() Iterator + func (u UInt) PrefixOp(op byte) (Value, error) + func (u UInt) ToInt() Int + func (u UInt) TypeName() string + type UInt32 = uint32 + type VM struct + func (vm *VM) Run(fiberFunctionName string) + func (vm *VM) RunDebugger(fiberFunctionName string) + type VModule struct + func (mod *VModule) BinaryOp(op byte, rhs Value) (Value, error) + func (mod *VModule) Clone() Value + func (mod *VModule) Description() string + func (mod *VModule) Equals(other Value) bool + func (mod *VModule) GetMethod(name string) (Value, bool, error) + func (mod *VModule) GetModuleName() string + func (mod *VModule) HasMethods() bool + func (mod *VModule) IsGModule() bool + func (mod *VModule) IsHashable() bool + func (mod *VModule) IsIterable() bool + func (mod *VModule) IsVModule() bool + func (mod *VModule) IsValueSemantics() bool + func (mod *VModule) MakeHashKey() HashKey + func (mod *VModule) MakeIterator() Iterator + func (mod *VModule) PrefixOp(op byte) (Value, error) + func (mod *VModule) SelectorGet(field string) (Value, error) + func (mod *VModule) SelectorSet(string, Value) error + func (mod *VModule) TypeName() string + type Value interface + BinaryOp func(byte, Value) (Value, error) + Clone func() Value + Description func() string + Equals func(Value) bool + GetMethod func(string) (Value, bool, error) + HasMethods func() bool + IsHashable func() bool + IsIterable func() bool + IsValueSemantics func() bool + MakeHashKey func() HashKey + MakeIterator func() Iterator + PrefixOp func(byte) (Value, error) + TypeName func() string + func FiberCurrent(args ...Value) (Value, error) + func FiberIsAlive(args ...Value) (Value, error) + func FiberNew(args ...Value) (Value, error) + func FiberParent(args ...Value) (Value, error) + func FiberPrintStack(args ...Value) (Value, error) + func FiberRecycle(args ...Value) (Value, error) + func FiberRun(args ...Value) (Value, error) + func FiberState(args ...Value) (Value, error) + func FiberSuspend(args ...Value) (Value, error) + func FiberTerminate(args ...Value) (Value, error) + func FiberWrap(args ...Value) (Value, error)