Documentation ¶
Overview ¶
Package binary_pack performs conversions between some Go values represented as byte slices. This can be used in handling binary data stored in files or from network connections, among other sources. It uses format slices of strings as compact descriptions of the layout of the Go structs.
Format characters (some characters like H have been reserved for future implementation of unsigned numbers):
? - bool, packed size 1 byte h, H - int, packed size 2 bytes (in future it will support pack/unpack of int8, uint8 values) i, I, l, L - int, packed size 4 bytes (in future it will support pack/unpack of int16, uint16, int32, uint32 values) q, Q - int, packed size 8 bytes (in future it will support pack/unpack of int64, uint64 values) f - float32, packed size 4 bytes d - float64, packed size 8 bytes Ns - string, packed size N bytes, N is a number of runes to pack/unpack
Index ¶
- Constants
- Variables
- func AddNewStack(l *TCExecListener, name string)
- func AllValuesFromStackAndAttr(l *TCExecListener, q *deque.Deque) *deque.Deque
- func AllValuesFromStackOrAttr(l *TCExecListener, q *deque.Deque) *deque.Deque
- func ApplyToFunction(l *TCExecListener, x interface{}, q *deque.Deque) interface{}
- func ArrayToAttrs(attrs []interface{}) *deque.Deque
- func AttrsToArray(q *deque.Deque) []interface{}
- func BinNext(res *TCIterator) interface{}
- func BinPrev(res *TCIterator) interface{}
- func BlockCode(l *TCExecListener, name string, code string) interface{}
- func BlockConditionalFalse(l *TCExecListener, name string, code string) interface{}
- func BlockConditionalTrue(l *TCExecListener, name string, code string) interface{}
- func BlockLambda(l *TCExecListener, name string, code string) interface{}
- func BlockMonitoring(l *TCExecListener, name string, code string) interface{}
- func BlockNotOnError(l *TCExecListener, name string, code string) interface{}
- func BlockOnDebug(l *TCExecListener, name string, code string) interface{}
- func BlockOnError(l *TCExecListener, name string, code string) interface{}
- func BlockSpawn(l *TCExecListener, name string, code string) interface{}
- func BlockTesting(l *TCExecListener, name string, code string) interface{}
- func DataNext(res *TCIterator) interface{}
- func DataPrev(res *TCIterator) interface{}
- func FloatNext(res *TCIterator) interface{}
- func FloatPrev(res *TCIterator) interface{}
- func FuncSetVariable(l *TCExecListener, func_name string, q *deque.Deque)
- func GetFunctionName(i interface{}) string
- func GetPositionalFromAttr(l *TCExecListener, n int64) interface{}
- func GetSimpleData(data string) interface{}
- func GetVariable(name string) (interface{}, error)
- func InCode(l *TCExecListener, name string, code string) interface{}
- func InitExitCallbacks(tc *TCstate)
- func IntNext(res *TCIterator) interface{}
- func IntPrev(res *TCIterator) interface{}
- func IsBinary(x interface{}) bool
- func IsContext(x interface{}) bool
- func IsData(x interface{}) bool
- func IsExported(x interface{}) bool
- func IsIO(x interface{}) bool
- func IsLines(x interface{}) bool
- func IsNeural(x interface{}) bool
- func IsNone(x interface{}) bool
- func IsSimpleData(data string) bool
- func IsStringElementExist(s []string, str string) bool
- func IsType(x interface{}) bool
- func LinesNext(res *TCIterator) interface{}
- func LinesPrev(res *TCIterator) interface{}
- func ListNext(res *TCIterator) interface{}
- func ListPrev(res *TCIterator) interface{}
- func LoopCode(l *TCExecListener, name string, code string) interface{}
- func MatrixNext(res *TCIterator) interface{}
- func MatrixPrev(res *TCIterator) interface{}
- func NumbersNext(res *TCIterator) interface{}
- func NumbersPrev(res *TCIterator) interface{}
- func PushQueueToStack(l *TCExecListener, q *deque.Deque)
- func ReadFile(uri string) (string, error)
- func RegisterApplyCallback(x_type int, y_type int, apply_fun TCApplyFun)
- func RegisterBlockCallback(name string, fun TCBlockFun)
- func RegisterCloneCallback(from_type int, fun TCCloneFun)
- func RegisterCompareCallback(x_type int, y_type int, fun TCCompareFun)
- func RegisterConvertCallback(from_type int, fun TCConvertFun)
- func RegisterExecuteCallback(etype int, fun TCExecuteFun)
- func RegisterFunctionCallback(name string, x_type int, fun TCGenericFunction)
- func RegisterGenCallback(gtype int, fun TCGenFun)
- func RegisterLoopPCallback(x_type int, fun TCLoopParamFun)
- func RegisterMathCallback(x_type int, y_type int, fun TCMathFun)
- func RegisterNextCallback(gtype int, fun TCNextFun)
- func RegisterOperatorCallback(name string, x_type int, y_type int, fun TCGenericOperator)
- func RegisterOperatorCmdCallback(name string, x_type int, y_type int, fun TCOperatorCommand)
- func RegisterPrevCallback(gtype int, fun TCNextFun)
- func RegisterSizeCallback(from_type int, fun TCSizeFun)
- func RegisterToListCallback(x_type int, fun TCToListFun)
- func RegisterToStringCallback(x_type int, fun TCToStringFun)
- func ReturnFromFunction(l *TCExecListener, func_name string, data interface{})
- func SetCommand(name string, fun TCFun)
- func SetExternalTypeHandlers(fun1 TCExtType, fun2 TCExtTypeStr)
- func SetFunction(name string, fun TCFun)
- func SetVariable(name string, data interface{})
- func SingleValueFromStackAndAttr(l *TCExecListener, q *deque.Deque) *deque.Deque
- func SingleValueFromStackOrAttr(l *TCExecListener, q *deque.Deque) *deque.Deque
- func StringNext(res *TCIterator) interface{}
- func StringPrev(res *TCIterator) interface{}
- func TCAddRouterFunction(fun TCRouterFun)
- func TCAnyValueMath(name string, x interface{}, y interface{}) interface{}
- func TCAnythingConvert(data interface{}, to_type int) interface{}
- func TCBinaryConvert(data interface{}, to_type int) interface{}
- func TCBinaryFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCBinaryMath(name string, x interface{}, y interface{}) interface{}
- func TCBinarySize(data interface{}) int
- func TCBinaryTypeFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCBinaryValueFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCBoolConvert(data interface{}, to_type int) interface{}
- func TCBoolTypeFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCCarFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCCdrFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCClearErrorsFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCClrFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCCodeConvert(data interface{}, to_type int) interface{}
- func TCCodeExecute(l *TCExecListener, code interface{}, q *deque.Deque) interface{}
- func TCCodeMath(name string, x interface{}, y interface{}) interface{}
- func TCCompareBinaryBinary(name string, x interface{}, y interface{}) interface{}
- func TCCompareBinaryString(name string, x interface{}, y interface{}) interface{}
- func TCCompareBoolBool(name string, x interface{}, y interface{}) interface{}
- func TCCompareBoolString(name string, x interface{}, y interface{}) interface{}
- func TCCompareFloatFloat(name string, x interface{}, y interface{}) interface{}
- func TCCompareFloatInt(name string, x interface{}, y interface{}) interface{}
- func TCCompareFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCCompareIntFloat(name string, x interface{}, y interface{}) interface{}
- func TCCompareIntInt(name string, x interface{}, y interface{}) interface{}
- func TCCompareMatrixMatrix(name string, x interface{}, y interface{}) interface{}
- func TCCompareNumbersNumbers(name string, x interface{}, y interface{}) interface{}
- func TCCompareNumericString(name string, x interface{}, y interface{}) interface{}
- func TCCompareSomethingValue(name string, x interface{}, y interface{}) interface{}
- func TCCompareStringBool(name string, x interface{}, y interface{}) interface{}
- func TCCompareStringNumeric(name string, x interface{}, y interface{}) interface{}
- func TCCompareStringString(name string, x interface{}, y interface{}) interface{}
- func TCCompareValueSomething(name string, x interface{}, y interface{}) interface{}
- func TCCompareValueValue(name string, x interface{}, y interface{}) interface{}
- func TCContextConvert(data interface{}, to_type int) interface{}
- func TCContextGet(x interface{}, y interface{}) interface{}
- func TCContextSet(x interface{}, y interface{})
- func TCConversionFunction(l *TCExecListener, t int, e interface{}) (interface{}, error)
- func TCConvertAnyToString(x interface{}) string
- func TCConvertBinaryToString(x interface{}) string
- func TCConvertFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCConvertLinesToString(x interface{}) string
- func TCConvertListToString(x interface{}) string
- func TCCreateErrorFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCCtxFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCCtxValueFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCDataAddSeries(d *TCData, p *TCPair) error
- func TCDataConvert(data interface{}, to_type int) interface{}
- func TCDataFrameCar(v interface{}) interface{}
- func TCDataFrameCdr(v interface{}) interface{}
- func TCDataFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCDataSet(x interface{}, y interface{})
- func TCDataValueFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCDataframeGet(x interface{}, y interface{}) interface{}
- func TCDataframeMath(name string, x interface{}, y interface{}) interface{}
- func TCDataframeSample(x interface{}, y interface{}) interface{}
- func TCDataframeSize(data interface{}) int
- func TCDecFloat(v interface{}) interface{}
- func TCDecFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCDecInt(v interface{}) interface{}
- func TCDecMatrix(v interface{}) interface{}
- func TCDecNumbers(v interface{}) interface{}
- func TCDictConvert(data interface{}, to_type int) interface{}
- func TCDictFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCDictGet(x interface{}, y interface{}) interface{}
- func TCDictSet(x interface{}, y interface{})
- func TCDictValueFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCDropCtxFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCDropFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCDupFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCErrorConvert(data interface{}, to_type int) interface{}
- func TCErrorsHandleFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCErrorsNotHandleFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCExecuteAllFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCExecuteBinary(l *TCExecListener, v interface{}, q *deque.Deque) interface{}
- func TCExecuteContext(l *TCExecListener, v interface{}, q *deque.Deque) interface{}
- func TCExecuteEcho(l *TCExecListener, code interface{}, q *deque.Deque) interface{}
- func TCExecuteEval(l *TCExecListener, code interface{}, q *deque.Deque) interface{}
- func TCExecuteFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCExecuteLines(l *TCExecListener, v interface{}, q *deque.Deque) interface{}
- func TCExecuteList(l *TCExecListener, v interface{}, q *deque.Deque) interface{}
- func TCExecuteMatrix(l *TCExecListener, v interface{}, q *deque.Deque) interface{}
- func TCExecuteNumbers(l *TCExecListener, v interface{}, q *deque.Deque) interface{}
- func TCExecuteValue(l *TCExecListener, v interface{}, q *deque.Deque) interface{}
- func TCExitCbPoolClose(l *TCExecListener)
- func TCExitCbSetExitError(l *TCExecListener)
- func TCExitFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCExitRequestedFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCExportFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCExportedConvert(data interface{}, to_type int) interface{}
- func TCExportedSize(data interface{}) int
- func TCExportedTypeFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCFloatConvert(data interface{}, to_type int) interface{}
- func TCFloatFloatMath(name string, x interface{}, y interface{}) interface{}
- func TCFloatFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCFloatIntMath(name string, x interface{}, y interface{}) interface{}
- func TCFunctionRouter(l *TCExecListener, func_name string, q *deque.Deque) (interface{}, error)
- func TCFuzzyMathFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCGStackLeftFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCGStackRightFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCGetCtxFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCGetFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCGetValueFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCIOConvert(data interface{}, to_type int) interface{}
- func TCIOFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCIOReadFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCIORegisterReadRouter(patt string, fun TCIOReadFun)
- func TCIORegisterWriteRouter(patt string, fun TCIOWriteFun)
- func TCIOSet(x interface{}, y interface{})
- func TCIOTypeFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCIOValueFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCIOWriteFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCIfErrorFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCIfLastErrorFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCImportFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCIncFloat(v interface{}) interface{}
- func TCIncFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCIncInt(v interface{}) interface{}
- func TCIncMatrix(v interface{}) interface{}
- func TCIncNumbers(v interface{}) interface{}
- func TCIntConvert(data interface{}, to_type int) interface{}
- func TCIntFloatMath(name string, x interface{}, y interface{}) interface{}
- func TCIntFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCIntMath(name string, x interface{}, y interface{}) interface{}
- func TCIteratorConvert(data interface{}, to_type int) interface{}
- func TCJsonConvert(data interface{}, to_type int) interface{}
- func TCJsonFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCJsonGet(x interface{}, y interface{}) interface{}
- func TCJsonSetDict(x interface{}, y interface{})
- func TCJsonSetJson(x interface{}, y interface{})
- func TCJsonSetString(x interface{}, y interface{})
- func TCJsonUniqFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCJsonValueFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCJustLinesFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCJustValueFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCLastErrorFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCLenFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCLikelyValueFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCLinesConvert(data interface{}, to_type int) interface{}
- func TCLinesFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCLinesGet(x interface{}, y interface{}) interface{}
- func TCLinesMath(name string, x interface{}, y interface{}) interface{}
- func TCLinesSet(x interface{}, y interface{})
- func TCLinesSize(data interface{}) int
- func TCLinesTypeFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCListCar(v interface{}) interface{}
- func TCListCdr(v interface{}) interface{}
- func TCListConvert(data interface{}, to_type int) interface{}
- func TCListFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCListMath(name string, x interface{}, y interface{}) interface{}
- func TCListSize(data interface{}) int
- func TCListTypeFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCLoglevelFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCLoopPDictCallback(l *TCExecListener, v interface{}, q *deque.Deque) *deque.Deque
- func TCLoopPListCallback(l *TCExecListener, v interface{}, q *deque.Deque) *deque.Deque
- func TCLoopPNumbersCallback(l *TCExecListener, v interface{}, q *deque.Deque) *deque.Deque
- func TCLoopPPairCallback(l *TCExecListener, v interface{}, q *deque.Deque) *deque.Deque
- func TCLoopPValueCallback(l *TCExecListener, v interface{}, q *deque.Deque) *deque.Deque
- func TCMatrixClone(data interface{}) interface{}
- func TCMatrixConvert(data interface{}, to_type int) interface{}
- func TCMatrixFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCMatrixGet(x interface{}, y interface{}) interface{}
- func TCMatrixMath(name string, x interface{}, y interface{}) interface{}
- func TCMatrixSet(x interface{}, y interface{})
- func TCMatrixSize(data interface{}) int
- func TCMergeListsX(x interface{}, y interface{}) interface{}
- func TCMergeListsY(x interface{}, y interface{}) interface{}
- func TCMergeValueToListX(x interface{}, y interface{}) interface{}
- func TCMergeValueToListY(x interface{}, y interface{}) interface{}
- func TCMergeValuesToList(x interface{}, y interface{}) interface{}
- func TCNErrorsFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCNSNameFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCNSPreviousNameFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCNeuralConvert(data interface{}, to_type int) interface{}
- func TCNeuralFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCNeuralSize(data interface{}) int
- func TCNeuralTrain(x interface{}, y interface{})
- func TCNeuralUpdate(x interface{}, y interface{}) interface{}
- func TCNeuralValueFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCNeverValueFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCNewStackFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCNoneConvert(data interface{}, to_type int) interface{}
- func TCNoneFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCNoneValueFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCNotFunction(x interface{}) interface{}
- func TCNotLogicFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCNotSureValueFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCNotValueFunction(x interface{}) interface{}
- func TCNumbersCar(v interface{}) interface{}
- func TCNumbersCdr(v interface{}) interface{}
- func TCNumbersConvert(data interface{}, to_type int) interface{}
- func TCNumbersFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCNumbersGet(x interface{}, y interface{}) interface{}
- func TCNumbersMath(name string, x interface{}, y interface{}) interface{}
- func TCNumbersSize(data interface{}) int
- func TCNumbersTypeFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCNumbersValueFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCObserveDisableFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCObserveEnableFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCPairCar(v interface{}) interface{}
- func TCPairCdr(v interface{}) interface{}
- func TCPairConvert(data interface{}, to_type int) interface{}
- func TCPairFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCPairValueFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCPoolActiveFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCPoolCapacityFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCPopulateCtxFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCPrintFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCPrintfFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCPrintflnFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCPrintlnFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCRangeConvert(data interface{}, to_type int) interface{}
- func TCRangeFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCReadFromIO(v interface{}) interface{}
- func TCReadFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCRecvLocalFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCRecvNamedFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCRefConvert(data interface{}, to_type int) interface{}
- func TCRefExecute(l *TCExecListener, code interface{}, q *deque.Deque) interface{}
- func TCRotateLeftFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCRotateListLeft(v interface{}) interface{}
- func TCRotateListRight(v interface{}) interface{}
- func TCRotateMatrixLeft(v interface{}) interface{}
- func TCRotateMatrixRight(v interface{}) interface{}
- func TCRotateNumbersLeft(v interface{}) interface{}
- func TCRotateNumbersRight(v interface{}) interface{}
- func TCRotateRightFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCRotateSimple(v interface{}) interface{}
- func TCSStackFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCSampleFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCSendLocalFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCSendNamedFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCSetConvert(data interface{}, to_type int) interface{}
- func TCSetDataFromPairs(l *TCExecListener, d *TCData, q *deque.Deque) error
- func TCSetFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCSetGlobalCtxFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCSetLocalCtxFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCSetMath(name string, x interface{}, y interface{}) interface{}
- func TCSetOpFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCSimpleClone(data interface{}) interface{}
- func TCSimpleLogicFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCSimpleMathFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCSimpleStringMath(name string, x interface{}, y interface{}) interface{}
- func TCSizeFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCSizeSimple(data interface{}) int
- func TCStackBackSendFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCStackLeftFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCStackReturnFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCStackRightFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCStrFormatFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCStrStringFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCStringClone(data interface{}) interface{}
- func TCStringConvert(data interface{}, to_type int) interface{}
- func TCStringFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCStringSimpleMath(name string, x interface{}, y interface{}) interface{}
- func TCStringSize(data interface{}) int
- func TCStringStringMath(name string, x interface{}, y interface{}) interface{}
- func TCSureValueFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCTestDisableFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCTestEnableFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCThrowErrorFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCTimeFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCToTypeConverter(v interface{}) interface{}
- func TCToTypeFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCTrainNeuralFromPairs(l *TCExecListener, n *TCNeural, q *deque.Deque) error
- func TCTrainNeuralFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCType(x interface{}) int
- func TCTypeConvert(data interface{}, to_type int) interface{}
- func TCUseFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCVFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCValueAnyMath(name string, x interface{}, y interface{}) interface{}
- func TCValueFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCValueMakeFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCValueNumbersMath(name string, x interface{}, y interface{}) interface{}
- func TCValueValueMath(name string, x interface{}, y interface{}) interface{}
- func TCWaitFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCWriteToIO(x interface{}, y interface{})
- func TCisSimple(x interface{}) bool
- func TCnewlineFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TCsStackFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func ToStackFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
- func TypeToStr(t interface{}) string
- type BinaryPack
- type TCApplyFun
- type TCBinary
- type TCBlockFun
- type TCBreak
- type TCCloneFun
- type TCCode
- type TCCompareFun
- type TCConvertFun
- type TCCtx
- type TCData
- type TCDict
- type TCError
- type TCExecListener
- func (l *TCExecListener) AttrByType(x_type int, q *deque.Deque) interface{}
- func (l *TCExecListener) Attrs() *deque.Deque
- func (l *TCExecListener) EnterFun(c *parser.FunContext)
- func (l *TCExecListener) EnterNs(c *parser.NsContext)
- func (l *TCExecListener) EnterVal(c *parser.ValContext)
- func (l *TCExecListener) ExecFunction(func_name string, q *deque.Deque) (interface{}, error)
- func (l *TCExecListener) ExecuteOperator(name string, q *deque.Deque) *TCError
- func (l *TCExecListener) ExecuteOperatorCommand(name string, q *deque.Deque) *TCError
- func (l *TCExecListener) ExecuteOperatorTyped(name string, x_type int, q *deque.Deque) *TCError
- func (l *TCExecListener) ExecuteSingleArgumentFunction(name string, q *deque.Deque) *TCError
- func (l *TCExecListener) ExitFun(c *parser.FunContext)
- func (l *TCExecListener) ExitNs(c *parser.NsContext)
- func (l *TCExecListener) ExitPos_term(c *parser.Pos_termContext)
- func (l *TCExecListener) ExitRequest()
- func (l *TCExecListener) ExitRequested() bool
- func (l *TCExecListener) ExitVal(c *parser.ValContext)
- func (l *TCExecListener) IsFalse() bool
- func (l *TCExecListener) IsTrue() bool
- func (l *TCExecListener) LastEvAttr() *deque.Deque
- func (l *TCExecListener) RegisterExitCallback(name string, fun TCExitCbFun)
- func (l *TCExecListener) RunExitCallbacks()
- func (l *TCExecListener) SetError(msg string, args ...interface{})
- type TCExecuteFun
- type TCExitCbFun
- type TCExported
- type TCExtType
- type TCExtTypeStr
- type TCFun
- type TCFunRef
- type TCGenFun
- type TCGenericFunction
- type TCGenericOperator
- type TCIO
- type TCIOReadFun
- type TCIOWriteFun
- type TCIterator
- func BinaryGenerator(v interface{}) *TCIterator
- func DataGenerator(v interface{}) *TCIterator
- func FloatGenerator(v interface{}) *TCIterator
- func IntGenerator(v interface{}) *TCIterator
- func LinesGenerator(v interface{}) *TCIterator
- func ListGenerator(v interface{}) *TCIterator
- func MatrixGenerator(v interface{}) *TCIterator
- func NumbersGenerator(v interface{}) *TCIterator
- func RangeGenerator(v interface{}) *TCIterator
- func StringGenerator(v interface{}) *TCIterator
- func (i *TCIterator) Get(name string) interface{}
- func (i *TCIterator) Next() interface{}
- func (i *TCIterator) Prev() interface{}
- func (i *TCIterator) Set(name string, val interface{}) interface{}
- func (i *TCIterator) SetTC(tc *TCstate)
- func (i *TCIterator) String() interface{}
- func (i *TCIterator) TC() *TCstate
- type TCJson
- type TCLines
- type TCList
- func MakeList() *TCList
- func TCConvertAnyToList(x interface{}) *TCList
- func TCConvertDataframeToList(x interface{}) *TCList
- func TCConvertDictToList(x interface{}) *TCList
- func TCConvertJsonToList(x interface{}) *TCList
- func TCConvertMatrixToList(x interface{}) *TCList
- func TCConvertNumbersToList(x interface{}) *TCList
- func TCConvertStringToList(x interface{}) *TCList
- type TCLoopParamFun
- type TCMathFun
- type TCMatrix
- type TCNeural
- type TCNextFun
- type TCNone
- type TCNumbers
- type TCOperatorCommand
- type TCPair
- type TCRange
- type TCRouterFun
- type TCSizeFun
- type TCToListFun
- type TCToStringFun
- type TCValue
- type TCstate
- func (tc *TCstate) AddContext(c interface{})
- func (tc *TCstate) AddNewStack(name string)
- func (tc *TCstate) AddToUserFun(data string) bool
- func (tc *TCstate) BeginConditional(name string)
- func (tc *TCstate) ClearErrors()
- func (tc *TCstate) DelContext()
- func (tc *TCstate) DelStack(name string)
- func (tc *TCstate) Dict() *TCDict
- func (tc *TCstate) DropLastStack() error
- func (tc *TCstate) EndConditional(name string) bool
- func (tc *TCstate) EndUserFun() (string, error)
- func (tc *TCstate) Error() string
- func (tc *TCstate) Errors() int
- func (tc *TCstate) Eval(code string) *TCstate
- func (tc *TCstate) ExecuteCode(c *TCCode) error
- func (tc *TCstate) ExitRequested() bool
- func (tc *TCstate) FinishUserFun() bool
- func (tc *TCstate) FromContext(name string, data interface{}) interface{}
- func (tc *TCstate) Get() interface{}
- func (tc *TCstate) GetAsString() string
- func (tc *TCstate) GetCommand(name string) TCFun
- func (tc *TCstate) GetContext(name string) interface{}
- func (tc *TCstate) GetFunction(name string) TCFun
- func (tc *TCstate) GetUserFunCode(fname string) (string, error)
- func (tc *TCstate) GetVariable(name string) (interface{}, error)
- func (tc *TCstate) GoEval(code string) *TCstate
- func (tc *TCstate) HasVariable(name string) bool
- func (tc *TCstate) HaveAttrs() bool
- func (tc *TCstate) HaveCommand(name string) bool
- func (tc *TCstate) HaveContext(name string) bool
- func (tc *TCstate) HaveFunction(name string) bool
- func (tc *TCstate) HaveStack(name string) bool
- func (tc *TCstate) HaveUserFun() bool
- func (tc *TCstate) IfConditional(name string) bool
- func (tc *TCstate) IsInConditional() bool
- func (tc *TCstate) IsUserFunction(fname string) bool
- func (tc *TCstate) Iterator(gen interface{}) *TCIterator
- func (tc *TCstate) Json() *TCJson
- func (tc *TCstate) LastContext() *TCCtx
- func (tc *TCstate) MakeError(err interface{}, args ...interface{}) *TCError
- func (tc *TCstate) MakeUserFun(mod string, name string) bool
- func (tc *TCstate) Matrix(q *deque.Deque) *TCMatrix
- func (tc *TCstate) NewCode() *TCCode
- func (tc *TCstate) NewRef(name string, q *deque.Deque) *TCFunRef
- func (tc *TCstate) Numbers() *TCNumbers
- func (tc *TCstate) Pair(x interface{}, y interface{}) *TCPair
- func (tc *TCstate) PositionStack(name string) error
- func (tc *TCstate) Ready() bool
- func (tc *TCstate) RegisterError(err *TCError)
- func (tc *TCstate) RegisterExitCallback(name string, fun TCExitCbFun)
- func (tc *TCstate) RotateStackNames()
- func (tc *TCstate) Set(x interface{})
- func (tc *TCstate) SetCommand(name string, fun TCFun)
- func (tc *TCstate) SetContext(name string, data interface{})
- func (tc *TCstate) SetError(msg string, args ...interface{})
- func (tc *TCstate) SetFunction(name string, fun TCFun)
- func (tc *TCstate) SetVariable(name string, data interface{})
- func (tc *TCstate) StackLeft(n int)
- func (tc *TCstate) StackRight(n int)
- func (tc *TCstate) StacksLeft(n int)
- func (tc *TCstate) StacksRight(n int)
- func (tc *TCstate) StartLambdaFun() string
- func (tc *TCstate) StartUserFun(name string) string
- func (tc *TCstate) TrueErrors() int
- func (tc *TCstate) Value(v interface{}, p float32, ttl int) *TCValue
- type TwoStack
- func (ts *TwoStack) Add()
- func (ts *TwoStack) CLeft()
- func (ts *TwoStack) CRight()
- func (ts *TwoStack) Del()
- func (ts *TwoStack) Front() interface{}
- func (ts *TwoStack) GLen() int
- func (ts *TwoStack) Get() (interface{}, error)
- func (ts *TwoStack) Left()
- func (ts *TwoStack) Len() int
- func (ts *TwoStack) Normal()
- func (ts *TwoStack) PopFront() interface{}
- func (ts *TwoStack) Q() *deque.Deque
- func (ts *TwoStack) Reverse()
- func (ts *TwoStack) Right()
- func (ts *TwoStack) Set(data interface{})
- func (ts *TwoStack) Take() (interface{}, error)
- type Type
Constants ¶
const ( Unknown int = 0 Int = 1 Float = 2 String = 3 Bool = 4 List = 5 Matrix = 6 Dict = 7 Set = 8 Ref = 9 Code = 10 Value = 11 Range = 12 None = 13 Numbers = 14 Pair = 15 Json = 16 Neural = 17 Data = 18 Time = 19 Binary = 20 Context = 21 Lines = 22 IO = 23 Exported = 24 Iterator = 95 SType = 96 Error = 97 Simple = 98 Any = 99 Nil = 100 )
Variables ¶
var Callbacks cmap.Cmap
var Commands cmap.Cmap
var FunctionRouterQ deque.Deque
var Functions cmap.Cmap
var TCEndOfLine = regexp.MustCompile(`\n+`)
var TCIOReadRouters = dict.New()
var TCIOWriteRouters = dict.New()
var VERSION = "1.22"
var Vars cmap.Cmap
Functions ¶
func AddNewStack ¶
func AddNewStack(l *TCExecListener, name string)
func AllValuesFromStackAndAttr ¶
func AllValuesFromStackAndAttr(l *TCExecListener, q *deque.Deque) *deque.Deque
func AllValuesFromStackOrAttr ¶
func AllValuesFromStackOrAttr(l *TCExecListener, q *deque.Deque) *deque.Deque
func ApplyToFunction ¶
func ApplyToFunction(l *TCExecListener, x interface{}, q *deque.Deque) interface{}
func ArrayToAttrs ¶
func AttrsToArray ¶
func BinNext ¶
func BinNext(res *TCIterator) interface{}
func BinPrev ¶
func BinPrev(res *TCIterator) interface{}
func BlockCode ¶
func BlockCode(l *TCExecListener, name string, code string) interface{}
func BlockConditionalFalse ¶
func BlockConditionalFalse(l *TCExecListener, name string, code string) interface{}
func BlockConditionalTrue ¶
func BlockConditionalTrue(l *TCExecListener, name string, code string) interface{}
func BlockLambda ¶
func BlockLambda(l *TCExecListener, name string, code string) interface{}
func BlockMonitoring ¶
func BlockMonitoring(l *TCExecListener, name string, code string) interface{}
func BlockNotOnError ¶
func BlockNotOnError(l *TCExecListener, name string, code string) interface{}
func BlockOnDebug ¶
func BlockOnDebug(l *TCExecListener, name string, code string) interface{}
func BlockOnError ¶
func BlockOnError(l *TCExecListener, name string, code string) interface{}
func BlockSpawn ¶
func BlockSpawn(l *TCExecListener, name string, code string) interface{}
func BlockTesting ¶
func BlockTesting(l *TCExecListener, name string, code string) interface{}
func DataNext ¶
func DataNext(res *TCIterator) interface{}
func DataPrev ¶
func DataPrev(res *TCIterator) interface{}
func FloatNext ¶
func FloatNext(res *TCIterator) interface{}
func FloatPrev ¶
func FloatPrev(res *TCIterator) interface{}
func FuncSetVariable ¶
func FuncSetVariable(l *TCExecListener, func_name string, q *deque.Deque)
func GetFunctionName ¶
func GetFunctionName(i interface{}) string
func GetPositionalFromAttr ¶
func GetPositionalFromAttr(l *TCExecListener, n int64) interface{}
func GetSimpleData ¶
func GetSimpleData(data string) interface{}
func GetVariable ¶
func InCode ¶
func InCode(l *TCExecListener, name string, code string) interface{}
func InitExitCallbacks ¶
func InitExitCallbacks(tc *TCstate)
func IntNext ¶
func IntNext(res *TCIterator) interface{}
func IntPrev ¶
func IntPrev(res *TCIterator) interface{}
func IsExported ¶
func IsExported(x interface{}) bool
func IsSimpleData ¶
func IsStringElementExist ¶
func LinesNext ¶
func LinesNext(res *TCIterator) interface{}
func LinesPrev ¶
func LinesPrev(res *TCIterator) interface{}
func ListNext ¶
func ListNext(res *TCIterator) interface{}
func ListPrev ¶
func ListPrev(res *TCIterator) interface{}
func LoopCode ¶
func LoopCode(l *TCExecListener, name string, code string) interface{}
func MatrixNext ¶
func MatrixNext(res *TCIterator) interface{}
func MatrixPrev ¶
func MatrixPrev(res *TCIterator) interface{}
func NumbersNext ¶
func NumbersNext(res *TCIterator) interface{}
func NumbersPrev ¶
func NumbersPrev(res *TCIterator) interface{}
func PushQueueToStack ¶
func PushQueueToStack(l *TCExecListener, q *deque.Deque)
func RegisterApplyCallback ¶
func RegisterApplyCallback(x_type int, y_type int, apply_fun TCApplyFun)
func RegisterBlockCallback ¶
func RegisterBlockCallback(name string, fun TCBlockFun)
func RegisterCloneCallback ¶
func RegisterCloneCallback(from_type int, fun TCCloneFun)
func RegisterCompareCallback ¶
func RegisterCompareCallback(x_type int, y_type int, fun TCCompareFun)
func RegisterConvertCallback ¶
func RegisterConvertCallback(from_type int, fun TCConvertFun)
func RegisterExecuteCallback ¶
func RegisterExecuteCallback(etype int, fun TCExecuteFun)
func RegisterFunctionCallback ¶
func RegisterFunctionCallback(name string, x_type int, fun TCGenericFunction)
func RegisterGenCallback ¶
func RegisterLoopPCallback ¶
func RegisterLoopPCallback(x_type int, fun TCLoopParamFun)
func RegisterMathCallback ¶
func RegisterNextCallback ¶
func RegisterOperatorCallback ¶
func RegisterOperatorCallback(name string, x_type int, y_type int, fun TCGenericOperator)
func RegisterOperatorCmdCallback ¶
func RegisterOperatorCmdCallback(name string, x_type int, y_type int, fun TCOperatorCommand)
func RegisterPrevCallback ¶
func RegisterSizeCallback ¶
func RegisterToListCallback ¶
func RegisterToListCallback(x_type int, fun TCToListFun)
func RegisterToStringCallback ¶
func RegisterToStringCallback(x_type int, fun TCToStringFun)
func ReturnFromFunction ¶
func ReturnFromFunction(l *TCExecListener, func_name string, data interface{})
func SetCommand ¶
func SetExternalTypeHandlers ¶
func SetExternalTypeHandlers(fun1 TCExtType, fun2 TCExtTypeStr)
func SetFunction ¶
func SetVariable ¶
func SetVariable(name string, data interface{})
func SingleValueFromStackAndAttr ¶
func SingleValueFromStackAndAttr(l *TCExecListener, q *deque.Deque) *deque.Deque
func SingleValueFromStackOrAttr ¶
func SingleValueFromStackOrAttr(l *TCExecListener, q *deque.Deque) *deque.Deque
func StringNext ¶
func StringNext(res *TCIterator) interface{}
func StringPrev ¶
func StringPrev(res *TCIterator) interface{}
func TCAddRouterFunction ¶
func TCAddRouterFunction(fun TCRouterFun)
func TCAnyValueMath ¶
func TCAnyValueMath(name string, x interface{}, y interface{}) interface{}
func TCAnythingConvert ¶
func TCAnythingConvert(data interface{}, to_type int) interface{}
func TCBinaryConvert ¶
func TCBinaryConvert(data interface{}, to_type int) interface{}
func TCBinaryFunction ¶
func TCBinaryFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCBinaryMath ¶
func TCBinaryMath(name string, x interface{}, y interface{}) interface{}
func TCBinarySize ¶
func TCBinarySize(data interface{}) int
func TCBinaryTypeFunction ¶
func TCBinaryTypeFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCBinaryValueFunction ¶
func TCBinaryValueFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCBoolConvert ¶
func TCBoolConvert(data interface{}, to_type int) interface{}
func TCBoolTypeFunction ¶
func TCBoolTypeFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCCarFunction ¶
func TCCarFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCCdrFunction ¶
func TCCdrFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCClearErrorsFunction ¶
func TCClearErrorsFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCClrFunction ¶
func TCClrFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCCodeConvert ¶
func TCCodeConvert(data interface{}, to_type int) interface{}
func TCCodeExecute ¶
func TCCodeExecute(l *TCExecListener, code interface{}, q *deque.Deque) interface{}
func TCCodeMath ¶
func TCCodeMath(name string, x interface{}, y interface{}) interface{}
func TCCompareBinaryBinary ¶
func TCCompareBinaryBinary(name string, x interface{}, y interface{}) interface{}
func TCCompareBinaryString ¶
func TCCompareBinaryString(name string, x interface{}, y interface{}) interface{}
func TCCompareBoolBool ¶
func TCCompareBoolBool(name string, x interface{}, y interface{}) interface{}
func TCCompareBoolString ¶
func TCCompareBoolString(name string, x interface{}, y interface{}) interface{}
func TCCompareFloatFloat ¶
func TCCompareFloatFloat(name string, x interface{}, y interface{}) interface{}
func TCCompareFloatInt ¶
func TCCompareFloatInt(name string, x interface{}, y interface{}) interface{}
func TCCompareFunction ¶
func TCCompareFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCCompareIntFloat ¶
func TCCompareIntFloat(name string, x interface{}, y interface{}) interface{}
func TCCompareIntInt ¶
func TCCompareIntInt(name string, x interface{}, y interface{}) interface{}
func TCCompareMatrixMatrix ¶
func TCCompareMatrixMatrix(name string, x interface{}, y interface{}) interface{}
func TCCompareNumbersNumbers ¶
func TCCompareNumbersNumbers(name string, x interface{}, y interface{}) interface{}
func TCCompareNumericString ¶
func TCCompareNumericString(name string, x interface{}, y interface{}) interface{}
func TCCompareSomethingValue ¶
func TCCompareSomethingValue(name string, x interface{}, y interface{}) interface{}
func TCCompareStringBool ¶
func TCCompareStringBool(name string, x interface{}, y interface{}) interface{}
func TCCompareStringNumeric ¶
func TCCompareStringNumeric(name string, x interface{}, y interface{}) interface{}
func TCCompareStringString ¶
func TCCompareStringString(name string, x interface{}, y interface{}) interface{}
func TCCompareValueSomething ¶
func TCCompareValueSomething(name string, x interface{}, y interface{}) interface{}
func TCCompareValueValue ¶
func TCCompareValueValue(name string, x interface{}, y interface{}) interface{}
func TCContextConvert ¶
func TCContextConvert(data interface{}, to_type int) interface{}
func TCContextGet ¶
func TCContextGet(x interface{}, y interface{}) interface{}
func TCContextSet ¶
func TCContextSet(x interface{}, y interface{})
func TCConversionFunction ¶
func TCConversionFunction(l *TCExecListener, t int, e interface{}) (interface{}, error)
func TCConvertAnyToString ¶
func TCConvertAnyToString(x interface{}) string
func TCConvertBinaryToString ¶
func TCConvertBinaryToString(x interface{}) string
func TCConvertFunction ¶
func TCConvertFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCConvertLinesToString ¶
func TCConvertLinesToString(x interface{}) string
func TCConvertListToString ¶
func TCConvertListToString(x interface{}) string
func TCCreateErrorFunction ¶
func TCCreateErrorFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCCtxFunction ¶
func TCCtxFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCCtxValueFunction ¶
func TCCtxValueFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCDataAddSeries ¶
func TCDataConvert ¶
func TCDataConvert(data interface{}, to_type int) interface{}
func TCDataFrameCar ¶
func TCDataFrameCar(v interface{}) interface{}
func TCDataFrameCdr ¶
func TCDataFrameCdr(v interface{}) interface{}
func TCDataFunction ¶
func TCDataFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCDataValueFunction ¶
func TCDataValueFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCDataframeGet ¶
func TCDataframeGet(x interface{}, y interface{}) interface{}
func TCDataframeMath ¶
func TCDataframeMath(name string, x interface{}, y interface{}) interface{}
func TCDataframeSample ¶
func TCDataframeSample(x interface{}, y interface{}) interface{}
func TCDataframeSize ¶
func TCDataframeSize(data interface{}) int
func TCDecFloat ¶
func TCDecFloat(v interface{}) interface{}
func TCDecFunction ¶
func TCDecFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCDecMatrix ¶
func TCDecMatrix(v interface{}) interface{}
func TCDecNumbers ¶
func TCDecNumbers(v interface{}) interface{}
func TCDictConvert ¶
func TCDictConvert(data interface{}, to_type int) interface{}
func TCDictFunction ¶
func TCDictFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCDictValueFunction ¶
func TCDictValueFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCDropCtxFunction ¶
func TCDropCtxFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCDropFunction ¶
func TCDropFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCDupFunction ¶
func TCDupFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCErrorConvert ¶
func TCErrorConvert(data interface{}, to_type int) interface{}
func TCErrorsHandleFunction ¶
func TCErrorsHandleFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCErrorsNotHandleFunction ¶
func TCErrorsNotHandleFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCExecuteAllFunction ¶
func TCExecuteAllFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCExecuteBinary ¶
func TCExecuteBinary(l *TCExecListener, v interface{}, q *deque.Deque) interface{}
func TCExecuteContext ¶
func TCExecuteContext(l *TCExecListener, v interface{}, q *deque.Deque) interface{}
func TCExecuteEcho ¶
func TCExecuteEcho(l *TCExecListener, code interface{}, q *deque.Deque) interface{}
func TCExecuteEval ¶
func TCExecuteEval(l *TCExecListener, code interface{}, q *deque.Deque) interface{}
func TCExecuteFunction ¶
func TCExecuteFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCExecuteLines ¶
func TCExecuteLines(l *TCExecListener, v interface{}, q *deque.Deque) interface{}
func TCExecuteList ¶
func TCExecuteList(l *TCExecListener, v interface{}, q *deque.Deque) interface{}
func TCExecuteMatrix ¶
func TCExecuteMatrix(l *TCExecListener, v interface{}, q *deque.Deque) interface{}
func TCExecuteNumbers ¶
func TCExecuteNumbers(l *TCExecListener, v interface{}, q *deque.Deque) interface{}
func TCExecuteValue ¶
func TCExecuteValue(l *TCExecListener, v interface{}, q *deque.Deque) interface{}
func TCExitCbPoolClose ¶
func TCExitCbPoolClose(l *TCExecListener)
func TCExitCbSetExitError ¶
func TCExitCbSetExitError(l *TCExecListener)
func TCExitFunction ¶
func TCExitFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCExitRequestedFunction ¶
func TCExitRequestedFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCExportFunction ¶
func TCExportFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCExportedConvert ¶
func TCExportedConvert(data interface{}, to_type int) interface{}
func TCExportedSize ¶
func TCExportedSize(data interface{}) int
func TCExportedTypeFunction ¶
func TCExportedTypeFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCFloatConvert ¶
func TCFloatConvert(data interface{}, to_type int) interface{}
func TCFloatFloatMath ¶
func TCFloatFloatMath(name string, x interface{}, y interface{}) interface{}
func TCFloatFunction ¶
func TCFloatFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCFloatIntMath ¶
func TCFloatIntMath(name string, x interface{}, y interface{}) interface{}
func TCFunctionRouter ¶
func TCFunctionRouter(l *TCExecListener, func_name string, q *deque.Deque) (interface{}, error)
func TCFuzzyMathFunction ¶
func TCFuzzyMathFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCGStackLeftFunction ¶
func TCGStackLeftFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCGStackRightFunction ¶
func TCGStackRightFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCGetCtxFunction ¶
func TCGetCtxFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCGetFunction ¶
func TCGetFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCGetValueFunction ¶
func TCGetValueFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCIOConvert ¶
func TCIOConvert(data interface{}, to_type int) interface{}
func TCIOFunction ¶
func TCIOFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCIOReadFunction ¶
func TCIOReadFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCIORegisterReadRouter ¶
func TCIORegisterReadRouter(patt string, fun TCIOReadFun)
func TCIORegisterWriteRouter ¶
func TCIORegisterWriteRouter(patt string, fun TCIOWriteFun)
func TCIOTypeFunction ¶
func TCIOTypeFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCIOValueFunction ¶
func TCIOValueFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCIOWriteFunction ¶
func TCIOWriteFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCIfErrorFunction ¶
func TCIfErrorFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCIfLastErrorFunction ¶
func TCIfLastErrorFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCImportFunction ¶
func TCImportFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCIncFloat ¶
func TCIncFloat(v interface{}) interface{}
func TCIncFunction ¶
func TCIncFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCIncMatrix ¶
func TCIncMatrix(v interface{}) interface{}
func TCIncNumbers ¶
func TCIncNumbers(v interface{}) interface{}
func TCIntConvert ¶
func TCIntConvert(data interface{}, to_type int) interface{}
func TCIntFloatMath ¶
func TCIntFloatMath(name string, x interface{}, y interface{}) interface{}
func TCIntFunction ¶
func TCIntFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCIteratorConvert ¶
func TCIteratorConvert(data interface{}, to_type int) interface{}
func TCJsonConvert ¶
func TCJsonConvert(data interface{}, to_type int) interface{}
func TCJsonFunction ¶
func TCJsonFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCJsonSetDict ¶
func TCJsonSetDict(x interface{}, y interface{})
func TCJsonSetJson ¶
func TCJsonSetJson(x interface{}, y interface{})
func TCJsonSetString ¶
func TCJsonSetString(x interface{}, y interface{})
func TCJsonUniqFunction ¶
func TCJsonUniqFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCJsonValueFunction ¶
func TCJsonValueFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCJustLinesFunction ¶
func TCJustLinesFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCJustValueFunction ¶
func TCJustValueFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCLastErrorFunction ¶
func TCLastErrorFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCLenFunction ¶
func TCLenFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCLikelyValueFunction ¶
func TCLikelyValueFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCLinesConvert ¶
func TCLinesConvert(data interface{}, to_type int) interface{}
func TCLinesFunction ¶
func TCLinesFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCLinesGet ¶
func TCLinesGet(x interface{}, y interface{}) interface{}
func TCLinesMath ¶
func TCLinesMath(name string, x interface{}, y interface{}) interface{}
func TCLinesSet ¶
func TCLinesSet(x interface{}, y interface{})
func TCLinesSize ¶
func TCLinesSize(data interface{}) int
func TCLinesTypeFunction ¶
func TCLinesTypeFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCListConvert ¶
func TCListConvert(data interface{}, to_type int) interface{}
func TCListFunction ¶
func TCListFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCListMath ¶
func TCListMath(name string, x interface{}, y interface{}) interface{}
func TCListSize ¶
func TCListSize(data interface{}) int
func TCListTypeFunction ¶
func TCListTypeFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCLoglevelFunction ¶
func TCLoglevelFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCLoopPDictCallback ¶
func TCLoopPDictCallback(l *TCExecListener, v interface{}, q *deque.Deque) *deque.Deque
func TCLoopPListCallback ¶
func TCLoopPListCallback(l *TCExecListener, v interface{}, q *deque.Deque) *deque.Deque
func TCLoopPNumbersCallback ¶
func TCLoopPNumbersCallback(l *TCExecListener, v interface{}, q *deque.Deque) *deque.Deque
func TCLoopPPairCallback ¶
func TCLoopPPairCallback(l *TCExecListener, v interface{}, q *deque.Deque) *deque.Deque
func TCLoopPValueCallback ¶
func TCLoopPValueCallback(l *TCExecListener, v interface{}, q *deque.Deque) *deque.Deque
func TCMatrixClone ¶
func TCMatrixClone(data interface{}) interface{}
func TCMatrixConvert ¶
func TCMatrixConvert(data interface{}, to_type int) interface{}
func TCMatrixFunction ¶
func TCMatrixFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCMatrixGet ¶
func TCMatrixGet(x interface{}, y interface{}) interface{}
func TCMatrixMath ¶
func TCMatrixMath(name string, x interface{}, y interface{}) interface{}
func TCMatrixSet ¶
func TCMatrixSet(x interface{}, y interface{})
func TCMatrixSize ¶
func TCMatrixSize(data interface{}) int
func TCMergeListsX ¶
func TCMergeListsX(x interface{}, y interface{}) interface{}
func TCMergeListsY ¶
func TCMergeListsY(x interface{}, y interface{}) interface{}
func TCMergeValueToListX ¶
func TCMergeValueToListX(x interface{}, y interface{}) interface{}
func TCMergeValueToListY ¶
func TCMergeValueToListY(x interface{}, y interface{}) interface{}
func TCMergeValuesToList ¶
func TCMergeValuesToList(x interface{}, y interface{}) interface{}
func TCNErrorsFunction ¶
func TCNErrorsFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCNSNameFunction ¶
func TCNSNameFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCNSPreviousNameFunction ¶
func TCNSPreviousNameFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCNeuralConvert ¶
func TCNeuralConvert(data interface{}, to_type int) interface{}
func TCNeuralFunction ¶
func TCNeuralFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCNeuralSize ¶
func TCNeuralSize(data interface{}) int
func TCNeuralTrain ¶
func TCNeuralTrain(x interface{}, y interface{})
func TCNeuralUpdate ¶
func TCNeuralUpdate(x interface{}, y interface{}) interface{}
func TCNeuralValueFunction ¶
func TCNeuralValueFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCNeverValueFunction ¶
func TCNeverValueFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCNewStackFunction ¶
func TCNewStackFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCNoneConvert ¶
func TCNoneConvert(data interface{}, to_type int) interface{}
func TCNoneFunction ¶
func TCNoneFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCNoneValueFunction ¶
func TCNoneValueFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCNotFunction ¶
func TCNotFunction(x interface{}) interface{}
func TCNotLogicFunction ¶
func TCNotLogicFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCNotSureValueFunction ¶
func TCNotSureValueFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCNotValueFunction ¶
func TCNotValueFunction(x interface{}) interface{}
func TCNumbersCar ¶
func TCNumbersCar(v interface{}) interface{}
func TCNumbersCdr ¶
func TCNumbersCdr(v interface{}) interface{}
func TCNumbersConvert ¶
func TCNumbersConvert(data interface{}, to_type int) interface{}
func TCNumbersFunction ¶
func TCNumbersFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCNumbersGet ¶
func TCNumbersGet(x interface{}, y interface{}) interface{}
func TCNumbersMath ¶
func TCNumbersMath(name string, x interface{}, y interface{}) interface{}
func TCNumbersSize ¶
func TCNumbersSize(data interface{}) int
func TCNumbersTypeFunction ¶
func TCNumbersTypeFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCNumbersValueFunction ¶
func TCNumbersValueFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCObserveDisableFunction ¶
func TCObserveDisableFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCObserveEnableFunction ¶
func TCObserveEnableFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCPairConvert ¶
func TCPairConvert(data interface{}, to_type int) interface{}
func TCPairFunction ¶
func TCPairFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCPairValueFunction ¶
func TCPairValueFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCPoolActiveFunction ¶
func TCPoolActiveFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCPoolCapacityFunction ¶
func TCPoolCapacityFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCPopulateCtxFunction ¶
func TCPopulateCtxFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCPrintFunction ¶
func TCPrintFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCPrintfFunction ¶
func TCPrintfFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCPrintflnFunction ¶
func TCPrintflnFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCPrintlnFunction ¶
func TCPrintlnFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCRangeConvert ¶
func TCRangeConvert(data interface{}, to_type int) interface{}
func TCRangeFunction ¶
func TCRangeFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCReadFromIO ¶
func TCReadFromIO(v interface{}) interface{}
func TCReadFunction ¶
func TCReadFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCRecvLocalFunction ¶
func TCRecvLocalFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCRecvNamedFunction ¶
func TCRecvNamedFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCRefConvert ¶
func TCRefConvert(data interface{}, to_type int) interface{}
func TCRefExecute ¶
func TCRefExecute(l *TCExecListener, code interface{}, q *deque.Deque) interface{}
func TCRotateLeftFunction ¶
func TCRotateLeftFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCRotateListLeft ¶
func TCRotateListLeft(v interface{}) interface{}
func TCRotateListRight ¶
func TCRotateListRight(v interface{}) interface{}
func TCRotateMatrixLeft ¶
func TCRotateMatrixLeft(v interface{}) interface{}
func TCRotateMatrixRight ¶
func TCRotateMatrixRight(v interface{}) interface{}
func TCRotateNumbersLeft ¶
func TCRotateNumbersLeft(v interface{}) interface{}
func TCRotateNumbersRight ¶
func TCRotateNumbersRight(v interface{}) interface{}
func TCRotateRightFunction ¶
func TCRotateRightFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCRotateSimple ¶
func TCRotateSimple(v interface{}) interface{}
func TCSStackFunction ¶
func TCSStackFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCSampleFunction ¶
func TCSampleFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCSendLocalFunction ¶
func TCSendLocalFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCSendNamedFunction ¶
func TCSendNamedFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCSetConvert ¶
func TCSetConvert(data interface{}, to_type int) interface{}
func TCSetDataFromPairs ¶
func TCSetDataFromPairs(l *TCExecListener, d *TCData, q *deque.Deque) error
func TCSetFunction ¶
func TCSetFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCSetGlobalCtxFunction ¶
func TCSetGlobalCtxFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCSetLocalCtxFunction ¶
func TCSetLocalCtxFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCSetOpFunction ¶
func TCSetOpFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCSimpleClone ¶
func TCSimpleClone(data interface{}) interface{}
func TCSimpleLogicFunction ¶
func TCSimpleLogicFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCSimpleMathFunction ¶
func TCSimpleMathFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCSimpleStringMath ¶
func TCSimpleStringMath(name string, x interface{}, y interface{}) interface{}
func TCSizeFunction ¶
func TCSizeFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCSizeSimple ¶
func TCSizeSimple(data interface{}) int
func TCStackBackSendFunction ¶
func TCStackBackSendFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCStackLeftFunction ¶
func TCStackLeftFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCStackReturnFunction ¶
func TCStackReturnFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCStackRightFunction ¶
func TCStackRightFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCStrFormatFunction ¶
func TCStrFormatFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCStrStringFunction ¶
func TCStrStringFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCStringClone ¶
func TCStringClone(data interface{}) interface{}
func TCStringConvert ¶
func TCStringConvert(data interface{}, to_type int) interface{}
func TCStringFunction ¶
func TCStringFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCStringSimpleMath ¶
func TCStringSimpleMath(name string, x interface{}, y interface{}) interface{}
func TCStringSize ¶
func TCStringSize(data interface{}) int
func TCStringStringMath ¶
func TCStringStringMath(name string, x interface{}, y interface{}) interface{}
func TCSureValueFunction ¶
func TCSureValueFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCTestDisableFunction ¶
func TCTestDisableFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCTestEnableFunction ¶
func TCTestEnableFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCThrowErrorFunction ¶
func TCThrowErrorFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCTimeFunction ¶
func TCTimeFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCToTypeConverter ¶
func TCToTypeConverter(v interface{}) interface{}
func TCToTypeFunction ¶
func TCToTypeFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCTrainNeuralFromPairs ¶
func TCTrainNeuralFromPairs(l *TCExecListener, n *TCNeural, q *deque.Deque) error
func TCTrainNeuralFunction ¶
func TCTrainNeuralFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCTypeConvert ¶
func TCTypeConvert(data interface{}, to_type int) interface{}
func TCUseFunction ¶
func TCUseFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCVFunction ¶
func TCVFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCValueAnyMath ¶
func TCValueAnyMath(name string, x interface{}, y interface{}) interface{}
func TCValueFunction ¶
func TCValueFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCValueMakeFunction ¶
func TCValueMakeFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCValueNumbersMath ¶
func TCValueNumbersMath(name string, x interface{}, y interface{}) interface{}
func TCValueValueMath ¶
func TCValueValueMath(name string, x interface{}, y interface{}) interface{}
func TCWaitFunction ¶
func TCWaitFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCWriteToIO ¶
func TCWriteToIO(x interface{}, y interface{})
func TCisSimple ¶
func TCisSimple(x interface{}) bool
func TCnewlineFunction ¶
func TCnewlineFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func TCsStackFunction ¶
func TCsStackFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
func ToStackFunction ¶
func ToStackFunction(l *TCExecListener, name string, q *deque.Deque) (interface{}, error)
Types ¶
type BinaryPack ¶
type BinaryPack struct{}
func (*BinaryPack) CalcSize ¶
func (bp *BinaryPack) CalcSize(format []string) (int, error)
Return the size of the struct (and hence of the byte slice) corresponding to the given format.
func (*BinaryPack) Pack ¶
func (bp *BinaryPack) Pack(format []string, msg []interface{}) ([]byte, error)
Return a byte slice containing the values of msg slice packed according to the given format. The items of msg slice must match the values required by the format exactly.
func (*BinaryPack) UnPack ¶
func (bp *BinaryPack) UnPack(format []string, msg []byte) ([]interface{}, error)
Unpack the byte slice (presumably packed by Pack(format, msg)) according to the given format. The result is a []interface{} slice even if it contains exactly one item. The byte slice must contain not less the amount of data required by the format (len(msg) must more or equal CalcSize(format)).
type TCApplyFun ¶
type TCApplyFun func(interface{}, interface{}) interface{}
func GetApplyCallback ¶
func GetApplyCallback(x interface{}, y interface{}) TCApplyFun
type TCBinary ¶
func MakeBinary ¶
func MakeBinary(d interface{}) *TCBinary
type TCBlockFun ¶
type TCBlockFun func(*TCExecListener, string, string) interface{}
func GetBlockCallback ¶
func GetBlockCallback(name string) TCBlockFun
type TCCloneFun ¶
type TCCloneFun func(interface{}) interface{}
func GetCloneCallback ¶
func GetCloneCallback(x interface{}) TCCloneFun
type TCCode ¶
func (*TCCode) AddUserfunc ¶
type TCCompareFun ¶
type TCCompareFun func(string, interface{}, interface{}) interface{}
func GetCompareCallback ¶
func GetCompareCallback(x interface{}, y interface{}) TCCompareFun
type TCConvertFun ¶
type TCConvertFun func(interface{}, int) interface{}
func GetConverterCallback ¶
func GetConverterCallback(x interface{}) TCConvertFun
func GetStringConverter ¶
func GetStringConverter() TCConvertFun
type TCCtx ¶
func MakeContext ¶
func MakeContext() *TCCtx
type TCExecListener ¶
type TCExecListener struct { *parser.BaseThreadComputationListener TC *TCstate }
func (*TCExecListener) AttrByType ¶
func (l *TCExecListener) AttrByType(x_type int, q *deque.Deque) interface{}
func (*TCExecListener) Attrs ¶
func (l *TCExecListener) Attrs() *deque.Deque
func (*TCExecListener) EnterFun ¶
func (l *TCExecListener) EnterFun(c *parser.FunContext)
func (*TCExecListener) EnterNs ¶
func (l *TCExecListener) EnterNs(c *parser.NsContext)
func (*TCExecListener) EnterVal ¶
func (l *TCExecListener) EnterVal(c *parser.ValContext)
func (*TCExecListener) ExecFunction ¶
func (l *TCExecListener) ExecFunction(func_name string, q *deque.Deque) (interface{}, error)
func (*TCExecListener) ExecuteOperator ¶
func (l *TCExecListener) ExecuteOperator(name string, q *deque.Deque) *TCError
func (*TCExecListener) ExecuteOperatorCommand ¶
func (l *TCExecListener) ExecuteOperatorCommand(name string, q *deque.Deque) *TCError
func (*TCExecListener) ExecuteOperatorTyped ¶
func (*TCExecListener) ExecuteSingleArgumentFunction ¶
func (l *TCExecListener) ExecuteSingleArgumentFunction(name string, q *deque.Deque) *TCError
func (*TCExecListener) ExitFun ¶
func (l *TCExecListener) ExitFun(c *parser.FunContext)
func (*TCExecListener) ExitNs ¶
func (l *TCExecListener) ExitNs(c *parser.NsContext)
func (*TCExecListener) ExitPos_term ¶
func (l *TCExecListener) ExitPos_term(c *parser.Pos_termContext)
func (*TCExecListener) ExitRequest ¶
func (l *TCExecListener) ExitRequest()
func (*TCExecListener) ExitRequested ¶
func (l *TCExecListener) ExitRequested() bool
func (*TCExecListener) ExitVal ¶
func (l *TCExecListener) ExitVal(c *parser.ValContext)
func (*TCExecListener) IsFalse ¶
func (l *TCExecListener) IsFalse() bool
func (*TCExecListener) IsTrue ¶
func (l *TCExecListener) IsTrue() bool
func (*TCExecListener) LastEvAttr ¶
func (l *TCExecListener) LastEvAttr() *deque.Deque
func (*TCExecListener) RegisterExitCallback ¶
func (l *TCExecListener) RegisterExitCallback(name string, fun TCExitCbFun)
func (*TCExecListener) RunExitCallbacks ¶
func (l *TCExecListener) RunExitCallbacks()
func (*TCExecListener) SetError ¶
func (l *TCExecListener) SetError(msg string, args ...interface{})
type TCExecuteFun ¶
type TCExecuteFun func(*TCExecListener, interface{}, *deque.Deque) interface{}
func GetExecuteCallback ¶
func GetExecuteCallback(e interface{}) TCExecuteFun
type TCExitCbFun ¶
type TCExitCbFun func(*TCExecListener)
type TCExported ¶
type TCExported struct {
Data []byte
}
func MakeExported ¶
func MakeExported(d []byte) *TCExported
func MakeExportedFromBinary ¶
func MakeExportedFromBinary(d *TCBinary) *TCExported
func (*TCExported) Export ¶
func (r *TCExported) Export() *TCBinary
func (*TCExported) Len ¶
func (r *TCExported) Len() int
func (*TCExported) String ¶
func (r *TCExported) String() string
type TCExtTypeStr ¶
type TCExtTypeStr func(interface{}) string
type TCGenFun ¶
type TCGenFun func(interface{}) *TCIterator
func GetGenCallback ¶
func GetGenCallback(v interface{}) TCGenFun
type TCGenericFunction ¶
type TCGenericFunction func(interface{}) interface{}
func GetFunctionCallback ¶
func GetFunctionCallback(name string, x interface{}) TCGenericFunction
type TCGenericOperator ¶
type TCGenericOperator func(interface{}, interface{}) interface{}
func GetOperatorCallback ¶
func GetOperatorCallback(name string, x interface{}, y interface{}) TCGenericOperator
type TCIO ¶
type TCIO struct { L *TCExecListener Id string D *dict.Dict }
func MakeIO ¶
func MakeIO(l *TCExecListener, d interface{}) *TCIO
type TCIOReadFun ¶
func TCIOGetReadRouter ¶
func TCIOGetReadRouter(name string) TCIOReadFun
type TCIOWriteFun ¶
func TCIOGetWriteRouter ¶
func TCIOGetWriteRouter(name string) TCIOWriteFun
type TCIterator ¶
type TCIterator struct { Type int Gen interface{} Last interface{} Attrs cmap.Cmap // contains filtered or unexported fields }
func BinaryGenerator ¶
func BinaryGenerator(v interface{}) *TCIterator
func DataGenerator ¶
func DataGenerator(v interface{}) *TCIterator
func FloatGenerator ¶
func FloatGenerator(v interface{}) *TCIterator
func IntGenerator ¶
func IntGenerator(v interface{}) *TCIterator
func LinesGenerator ¶
func LinesGenerator(v interface{}) *TCIterator
func ListGenerator ¶
func ListGenerator(v interface{}) *TCIterator
func MatrixGenerator ¶
func MatrixGenerator(v interface{}) *TCIterator
func NumbersGenerator ¶
func NumbersGenerator(v interface{}) *TCIterator
func RangeGenerator ¶
func RangeGenerator(v interface{}) *TCIterator
func StringGenerator ¶
func StringGenerator(v interface{}) *TCIterator
func (*TCIterator) Get ¶
func (i *TCIterator) Get(name string) interface{}
func (*TCIterator) Next ¶
func (i *TCIterator) Next() interface{}
func (*TCIterator) Prev ¶
func (i *TCIterator) Prev() interface{}
func (*TCIterator) Set ¶
func (i *TCIterator) Set(name string, val interface{}) interface{}
func (*TCIterator) SetTC ¶
func (i *TCIterator) SetTC(tc *TCstate)
func (*TCIterator) String ¶
func (i *TCIterator) String() interface{}
func (*TCIterator) TC ¶
func (i *TCIterator) TC() *TCstate
type TCLines ¶
func MakeLinesFromValue ¶
func MakeLinesFromValue(d interface{}) *TCLines
type TCList ¶
func TCConvertAnyToList ¶
func TCConvertAnyToList(x interface{}) *TCList
func TCConvertDataframeToList ¶
func TCConvertDataframeToList(x interface{}) *TCList
func TCConvertDictToList ¶
func TCConvertDictToList(x interface{}) *TCList
func TCConvertJsonToList ¶
func TCConvertJsonToList(x interface{}) *TCList
func TCConvertMatrixToList ¶
func TCConvertMatrixToList(x interface{}) *TCList
func TCConvertNumbersToList ¶
func TCConvertNumbersToList(x interface{}) *TCList
func TCConvertStringToList ¶
func TCConvertStringToList(x interface{}) *TCList
type TCLoopParamFun ¶
type TCLoopParamFun func(*TCExecListener, interface{}, *deque.Deque) *deque.Deque
func GetLoopPCallback ¶
func GetLoopPCallback(x interface{}) TCLoopParamFun
type TCMathFun ¶
type TCMathFun func(string, interface{}, interface{}) interface{}
func GetMathCallback ¶
func GetMathCallback(x interface{}, y interface{}) TCMathFun
type TCNeural ¶
type TCNeural struct { Id string Stamp time.Time Patterns [][][]float64 NN *gobrain.FeedForward Inputs int Outputs int Hidden int Epoch int Lr float64 Momentum float64 IsTrained bool }
func MakeNeural ¶
func MakeNeural() *TCNeural
func TCNeuralAddTrainSet ¶
type TCNextFun ¶
type TCNextFun func(*TCIterator) interface{}
func GetNextCallback ¶
func GetNextCallback(v interface{}) TCNextFun
func GetNextCallbackByType ¶
func GetPrevCallback ¶
func GetPrevCallback(v interface{}) TCNextFun
func GetPrevCallbackByType ¶
type TCNumbers ¶
func MakeNumbers ¶
func MakeNumbers() *TCNumbers
func (*TCNumbers) RotateLeft ¶
func (n *TCNumbers) RotateLeft()
func (*TCNumbers) RotateRight ¶
func (n *TCNumbers) RotateRight()
type TCOperatorCommand ¶
type TCOperatorCommand func(interface{}, interface{})
func GetOperatorCmdCallback ¶
func GetOperatorCmdCallback(name string, x interface{}, y interface{}) TCOperatorCommand
type TCRouterFun ¶
type TCSizeFun ¶
type TCSizeFun func(interface{}) int
func GetSizeCallback ¶
func GetSizeCallback(x interface{}) TCSizeFun
type TCToListFun ¶
type TCToListFun func(interface{}) *TCList
func GetToListCallback ¶
func GetToListCallback(x interface{}) TCToListFun
type TCToStringFun ¶
type TCToStringFun func(interface{}) string
func GetToStringCallback ¶
func GetToStringCallback(x interface{}) TCToStringFun
type TCstate ¶
type TCstate struct { ID string TC *TCstate HandleErr bool IsDebug bool IsTest bool IsObserve bool ErrStack deque.Deque // Stack of errors InAttr int // How deep we are in attributes InRef int // If we are in reference Attrs *TwoStack // Creating attributes EvAttrs deque.Deque // Evaluating attributes Res *TwoStack // Main stack ResNames deque.Deque // stack of stack names ResN mapset.Set // set of stack names Vars cmap.Cmap // variables Functions cmap.Cmap // Functions UFunctions cmap.Cmap // User Functions Commands cmap.Cmap // Commands UFStack deque.Deque // Stack of User-defined functions UFNStack deque.Deque // Stack of names User-defined functions UFNB int // balancing [] CStack deque.Deque // Conditionals stack StackList cmap.Cmap // Reference to stacks StackChan cmap.Cmap // Reference to stack channels Wg sync.WaitGroup // Global wait group Pool *gohive.PoolService // Global execution pool ExReq chan bool // Exit request channel IsExitReq bool // Exit flag ExitCb *dict.Dict // Exit callbacks Ctx cmap.Cmap // Global context CtxStack deque.Deque // Stack of local contexts // contains filtered or unexported fields }
func (*TCstate) AddContext ¶
func (tc *TCstate) AddContext(c interface{})
func (*TCstate) AddNewStack ¶
func (*TCstate) AddToUserFun ¶
func (*TCstate) BeginConditional ¶
func (*TCstate) ClearErrors ¶
func (tc *TCstate) ClearErrors()
func (*TCstate) DelContext ¶
func (tc *TCstate) DelContext()
func (*TCstate) DropLastStack ¶
func (*TCstate) EndConditional ¶
func (*TCstate) EndUserFun ¶
func (*TCstate) ExecuteCode ¶
func (*TCstate) ExitRequested ¶
func (*TCstate) FinishUserFun ¶
func (*TCstate) FromContext ¶
func (*TCstate) GetAsString ¶
func (*TCstate) GetCommand ¶
func (*TCstate) GetContext ¶
func (*TCstate) GetFunction ¶
func (*TCstate) GetVariable ¶
func (*TCstate) HasVariable ¶
func (*TCstate) HaveCommand ¶
func (*TCstate) HaveContext ¶
func (*TCstate) HaveFunction ¶
func (*TCstate) HaveUserFun ¶
func (*TCstate) IfConditional ¶
func (*TCstate) IsInConditional ¶
func (*TCstate) IsUserFunction ¶
func (*TCstate) Iterator ¶
func (tc *TCstate) Iterator(gen interface{}) *TCIterator
func (*TCstate) LastContext ¶
func (*TCstate) PositionStack ¶
func (*TCstate) RegisterError ¶
func (*TCstate) RegisterExitCallback ¶
func (tc *TCstate) RegisterExitCallback(name string, fun TCExitCbFun)
func (*TCstate) RotateStackNames ¶
func (tc *TCstate) RotateStackNames()
func (*TCstate) SetCommand ¶
func (*TCstate) SetContext ¶
func (*TCstate) SetFunction ¶
func (*TCstate) SetVariable ¶
func (*TCstate) StackRight ¶
func (*TCstate) StacksLeft ¶
func (*TCstate) StacksRight ¶
func (*TCstate) StartLambdaFun ¶
func (*TCstate) StartUserFun ¶
func (*TCstate) TrueErrors ¶
Source Files ¶
- TC_attrs.go
- TC_binary.go
- TC_binary_pack.go
- TC_cb.go
- TC_cb_apply.go
- TC_cb_block.go
- TC_cb_clone.go
- TC_cb_compare.go
- TC_cb_compare_binary.go
- TC_cb_compare_bool.go
- TC_cb_compare_matrix.go
- TC_cb_compare_numbers.go
- TC_cb_compare_numeric.go
- TC_cb_compare_string.go
- TC_cb_compare_value.go
- TC_cb_convert.go
- TC_cb_convert_binary.go
- TC_cb_convert_bool.go
- TC_cb_convert_exported.go
- TC_cb_convert_float.go
- TC_cb_convert_int.go
- TC_cb_convert_io.go
- TC_cb_convert_lines.go
- TC_cb_convert_list.go
- TC_cb_convert_numbers.go
- TC_cb_execute.go
- TC_cb_execute_binary.go
- TC_cb_execute_context.go
- TC_cb_execute_lines.go
- TC_cb_execute_list.go
- TC_cb_execute_matrix.go
- TC_cb_execute_numbers.go
- TC_cb_function.go
- TC_cb_function_execute.go
- TC_cb_generator.go
- TC_cb_generator_binary.go
- TC_cb_generator_dataframe.go
- TC_cb_generator_float.go
- TC_cb_generator_int.go
- TC_cb_generator_lines.go
- TC_cb_generator_list.go
- TC_cb_generator_matrix.go
- TC_cb_generator_numbers.go
- TC_cb_generator_range.go
- TC_cb_generator_string.go
- TC_cb_loopparam.go
- TC_cb_loopparam_dict.go
- TC_cb_loopparam_list.go
- TC_cb_loopparam_numbers.go
- TC_cb_loopparam_pair.go
- TC_cb_loopparam_value.go
- TC_cb_math.go
- TC_cb_math_binary.go
- TC_cb_math_code.go
- TC_cb_math_dataframe.go
- TC_cb_math_float.go
- TC_cb_math_int.go
- TC_cb_math_lines.go
- TC_cb_math_list.go
- TC_cb_math_matrix.go
- TC_cb_math_numbers.go
- TC_cb_math_set.go
- TC_cb_math_str.go
- TC_cb_math_value.go
- TC_cb_operator.go
- TC_cb_operator_execute.go
- TC_cb_operatorcommand.go
- TC_cb_operatorcommand_execute.go
- TC_cb_operatorcommand_execute_typed.go
- TC_cb_size.go
- TC_cb_tolist.go
- TC_cb_tolist_dataframe.go
- TC_cb_tolist_dict.go
- TC_cb_tolist_json.go
- TC_cb_tolist_matrix.go
- TC_cb_tolist_numbers.go
- TC_cb_tolist_string.go
- TC_cb_tostring.go
- TC_cb_tostring_binary.go
- TC_cb_tostring_lines.go
- TC_cb_tostring_list.go
- TC_code.go
- TC_conditionals.go
- TC_ctx.go
- TC_dataframe.go
- TC_dict.go
- TC_error.go
- TC_exit.go
- TC_exit_exitcb.go
- TC_exported.go
- TC_func.go
- TC_func_data.go
- TC_func_exec.go
- TC_func_lib.go
- TC_func_seconchance.go
- TC_func_stdlib_car_cdr.go
- TC_func_stdlib_car_cdr_dataframe.go
- TC_func_stdlib_car_cdr_list.go
- TC_func_stdlib_car_cdr_numbers.go
- TC_func_stdlib_car_cdr_pair.go
- TC_func_stdlib_compare.go
- TC_func_stdlib_conditionals.go
- TC_func_stdlib_convert.go
- TC_func_stdlib_execute.go
- TC_func_stdlib_export.go
- TC_func_stdlib_get.go
- TC_func_stdlib_get_context.go
- TC_func_stdlib_get_dataframe.go
- TC_func_stdlib_get_dict.go
- TC_func_stdlib_get_json.go
- TC_func_stdlib_get_lines.go
- TC_func_stdlib_get_matrix.go
- TC_func_stdlib_get_numbers.go
- TC_func_stdlib_goroutines.go
- TC_func_stdlib_import.go
- TC_func_stdlib_lambda.go
- TC_func_stdlib_list.go
- TC_func_stdlib_logic.go
- TC_func_stdlib_loop.go
- TC_func_stdlib_math.go
- TC_func_stdlib_math_dec.go
- TC_func_stdlib_math_inc.go
- TC_func_stdlib_onerror.go
- TC_func_stdlib_print.go
- TC_func_stdlib_rotate.go
- TC_func_stdlib_rotate_list.go
- TC_func_stdlib_rotate_matrix.go
- TC_func_stdlib_rotate_numbers.go
- TC_func_stdlib_rotate_simple.go
- TC_func_stdlib_sample.go
- TC_func_stdlib_sample_dataframe.go
- TC_func_stdlib_set.go
- TC_func_stdlib_set_context.go
- TC_func_stdlib_set_dict.go
- TC_func_stdlib_set_io.go
- TC_func_stdlib_set_json.go
- TC_func_stdlib_set_lines.go
- TC_func_stdlib_set_matrix.go
- TC_func_stdlib_setop.go
- TC_func_stdlib_size.go
- TC_func_stdlib_stack.go
- TC_func_stdlib_stack_backsend.go
- TC_func_stdlib_stack_return.go
- TC_func_stdlib_str.go
- TC_func_stdlib_system.go
- TC_func_stdlib_use.go
- TC_func_stdlib_vfs.go
- TC_fuzzy.go
- TC_fuzzy_math.go
- TC_fuzzy_value.go
- TC_global_ctx.go
- TC_in.go
- TC_io.go
- TC_io_importexport.go
- TC_io_readwrite.go
- TC_iter.go
- TC_json.go
- TC_lines.go
- TC_list.go
- TC_local_ctx.go
- TC_matrix.go
- TC_neural.go
- TC_none.go
- TC_ns.go
- TC_numbers.go
- TC_pair.go
- TC_pos.go
- TC_range.go
- TC_reference.go
- TC_stack.go
- TC_stdlib.go
- TC_twostack.go
- TC_types.go
- TC_types_binary.go
- TC_types_exported.go
- TC_types_io.go
- TC_types_lines.go
- TC_userfun.go
- TC_vars.go
- ThreadComputation.go