Documentation
¶
Index ¶
- Constants
- func Apply(name string, vm *VM) error
- func ApplyInNS(name string, ns *NS, vm *VM) error
- func BigCompare(vm *VM, e1 *Elem, e2 *Elem) int
- func BigToString(vm *VM, e *Elem) string
- func Block2Dict(vm *VM, d *Elem) (*map[string]string, error)
- func BlockAt(d *Elem, t string, n int64) (interface{}, error)
- func BlockGen(vm *VM, args ...interface{}) error
- func BlockLen(d *Elem) int64
- func BlockParser(vm *VM, args ...interface{})
- func Block_At(d *Elem, n int64) (interface{}, error)
- func BoolCompare(vm *VM, e1 *Elem, e2 *Elem) int
- func BoolToString(vm *VM, e *Elem) string
- func BooleanGen(vm *VM, args ...interface{}) error
- func BooleanParser(vm *VM, args ...interface{})
- func BundCompare(vm *VM, e1 *Elem, e2 *Elem) int
- func BundGen(vm *VM, args ...interface{}) error
- func BundParser(vm *VM, args ...interface{})
- func BundToString(vm *VM, e *Elem) string
- func CallCompare(vm *VM, e1 *Elem, e2 *Elem) int
- func CallGen(vm *VM, args ...interface{}) error
- func CallParser(vm *VM, args ...interface{})
- func CallToString(vm *VM, e *Elem) string
- func ComplexCompare(vm *VM, e1 *Elem, e2 *Elem) int
- func ComplexGen(vm *VM, args ...interface{}) error
- func ComplexParser(vm *VM, args ...interface{})
- func ComplexToString(vm *VM, e *Elem) string
- func DBlockGen(vm *VM, args ...interface{}) error
- func DBlockParser(vm *VM, args ...interface{})
- func DblockCompare(vm *VM, e1 *Elem, e2 *Elem) int
- func DblockSame(vm *VM, e1 *Elem, e2 *Elem) bool
- func DblockSameArity(vm *VM, e1 *Elem, e2 *Elem) bool
- func DblockToString(vm *VM, e *Elem) string
- func DfCompare(vm *VM, e1 *Elem, e2 *Elem) int
- func DfToString(vm *VM, e *Elem) string
- func EvalCmd(vm *VM, cmd *Elem)
- func ExitBlockGen(vm *VM, args ...interface{}) error
- func ExitBlockParser(vm *VM, args ...interface{})
- func ExitDBlockGen(vm *VM, args ...interface{}) error
- func ExitDBlockParser(vm *VM, args ...interface{})
- func ExitFunctionGen(vm *VM, args ...interface{}) error
- func ExitFunctionParser(vm *VM, args ...interface{})
- func ExitGeneratorGen(vm *VM, args ...interface{}) error
- func ExitGeneratorParser(vm *VM, args ...interface{})
- func ExitLBlockGen(vm *VM, args ...interface{}) error
- func ExitLBlockParser(vm *VM, args ...interface{})
- func ExitLambdaGen(vm *VM, args ...interface{}) error
- func ExitLambdaParser(vm *VM, args ...interface{})
- func ExitMBlockGen(vm *VM, args ...interface{}) error
- func ExitMBlockParser(vm *VM, args ...interface{})
- func ExitNSGen(vm *VM, args ...interface{}) error
- func ExitNSParser(vm *VM, args ...interface{})
- func ExitOpGen(vm *VM, args ...interface{}) error
- func ExitOpParser(vm *VM, args ...interface{})
- func FileCompare(vm *VM, e1 *Elem, e2 *Elem) int
- func FileGen(vm *VM, args ...interface{}) error
- func FileParser(vm *VM, args ...interface{})
- func FileToString(vm *VM, e *Elem) string
- func FloatCompare(vm *VM, e1 *Elem, e2 *Elem) int
- func FloatGen(vm *VM, args ...interface{}) error
- func FloatParser(vm *VM, args ...interface{})
- func FloatToString(vm *VM, e *Elem) string
- func FunctionGen(vm *VM, args ...interface{}) error
- func FunctionParser(vm *VM, args ...interface{})
- func GeneratorGen(vm *VM, args ...interface{}) error
- func GeneratorParser(vm *VM, args ...interface{})
- func GlobCompare(vm *VM, e1 *Elem, e2 *Elem) int
- func GlobGen(vm *VM, args ...interface{}) error
- func GlobParser(vm *VM, args ...interface{})
- func GlobToString(vm *VM, e *Elem) string
- func HtmlCompare(vm *VM, e1 *Elem, e2 *Elem) int
- func HtmlToString(vm *VM, e *Elem) string
- func HttpCompare(vm *VM, e1 *Elem, e2 *Elem) int
- func HttpGen(vm *VM, args ...interface{}) error
- func HttpParser(vm *VM, args ...interface{})
- func HttpToString(vm *VM, e *Elem) string
- func IndexGen(vm *VM, args ...interface{}) error
- func IndexParser(vm *VM, args ...interface{})
- func InitEvalFunctions(vm *VM)
- func InitFUNCTIONS(vm *VM)
- func InitGPMOperators(vm *VM)
- func InitHtmlFunctions(vm *VM)
- func InitHttpFunctions(vm *VM)
- func InitIntervalFunctions(vm *VM)
- func InitJsonFunctions(vm *VM)
- func InitMatFunctions(vm *VM)
- func InitMathFunctions(vm *VM)
- func InitOpCmp(vm *VM)
- func InitOpMath(vm *VM)
- func InitOpPercent(vm *VM)
- func InitOpcodeBlock(vm *VM)
- func InitOpcodeBoolean(vm *VM)
- func InitOpcodeBund(vm *VM)
- func InitOpcodeCall(vm *VM)
- func InitOpcodeComplex(vm *VM)
- func InitOpcodeDBlock(vm *VM)
- func InitOpcodeExitNs(vm *VM)
- func InitOpcodeFile(vm *VM)
- func InitOpcodeFloat(vm *VM)
- func InitOpcodeFunction(vm *VM)
- func InitOpcodeGenerator(vm *VM)
- func InitOpcodeGlob(vm *VM)
- func InitOpcodeHttp(vm *VM)
- func InitOpcodeIndex(vm *VM)
- func InitOpcodeInteger(vm *VM)
- func InitOpcodeJson(vm *VM)
- func InitOpcodeLBlock(vm *VM)
- func InitOpcodeLambda(vm *VM)
- func InitOpcodeMBlock(vm *VM)
- func InitOpcodeNs(vm *VM)
- func InitOpcodeOperator(vm *VM)
- func InitOpcodeRCall(vm *VM)
- func InitOpcodeSeparate(vm *VM)
- func InitOpcodeString(vm *VM)
- func InitOpcodeUnixcmd(vm *VM)
- func InitPctFunctions(vm *VM)
- func InitPrintFunctions(vm *VM)
- func InitReturnFunctions(vm *VM)
- func InitRndFunctions(vm *VM)
- func InitStringFunctions(vm *VM)
- func InitSystemFunctions(vm *VM)
- func InitVFSFunctions(vm *VM)
- func IntegerGen(vm *VM, args ...interface{}) error
- func IntegerParser(vm *VM, args ...interface{})
- func IntervalCompare(vm *VM, e1 *Elem, e2 *Elem) int
- func IntervalToString(vm *VM, e *Elem) string
- func JsonCompare(vm *VM, e1 *Elem, e2 *Elem) int
- func JsonGen(vm *VM, args ...interface{}) error
- func JsonParser(vm *VM, args ...interface{})
- func JsonToString(vm *VM, e *Elem) string
- func LBlockGen(vm *VM, args ...interface{}) error
- func LBlockParser(vm *VM, args ...interface{})
- func LambdaGen(vm *VM, args ...interface{}) error
- func LambdaParser(vm *VM, args ...interface{})
- func MBlockGen(vm *VM, args ...interface{}) error
- func MBlockParser(vm *VM, args ...interface{})
- func MatCompare(vm *VM, e1 *Elem, e2 *Elem) int
- func MatToString(vm *VM, e *Elem) string
- func NSGen(vm *VM, args ...interface{}) error
- func NSParser(vm *VM, args ...interface{})
- func OpGen(vm *VM, args ...interface{}) error
- func OpParser(vm *VM, args ...interface{})
- func PctCompare(vm *VM, e1 *Elem, e2 *Elem) int
- func PctToString(vm *VM, e *Elem) string
- func RCallGen(vm *VM, args ...interface{}) error
- func RCallParser(vm *VM, args ...interface{})
- func RegisterBoolean(vm *VM)
- func RegisterBund(vm *VM)
- func RegisterCALL(vm *VM)
- func RegisterCpx(vm *VM)
- func RegisterDblock(vm *VM)
- func RegisterDf(vm *VM)
- func RegisterFile(vm *VM)
- func RegisterFloat(vm *VM)
- func RegisterGlob(vm *VM)
- func RegisterHtml(vm *VM)
- func RegisterHttp(vm *VM)
- func RegisterInt(vm *VM)
- func RegisterInterval(vm *VM)
- func RegisterJson(vm *VM)
- func RegisterMatrix(vm *VM)
- func RegisterPerceptron(vm *VM)
- func RegisterSep(vm *VM)
- func RegisterStack(vm *VM)
- func RegisterString(vm *VM)
- func RegisterUnix(vm *VM)
- func SepCompare(vm *VM, e1 *Elem, e2 *Elem) int
- func SepToString(vm *VM, e *Elem) string
- func SeparateGen(vm *VM, args ...interface{}) error
- func SeparateParser(vm *VM, args ...interface{})
- func SimpleEvalCmd(vm *VM, cmd *Elem)
- func StackCompare(vm *VM, e1 *Elem, e2 *Elem) int
- func StackToString(vm *VM, e *Elem) string
- func StrGen(vm *VM, args ...interface{}) error
- func StrParser(vm *VM, args ...interface{})
- func StringCompare(vm *VM, e1 *Elem, e2 *Elem) int
- func StringDeepCopy(s string) string
- func StringToString(vm *VM, e *Elem) string
- func UnixCompare(vm *VM, e1 *Elem, e2 *Elem) int
- func UnixToString(vm *VM, e *Elem) string
- func UnixcmdGen(vm *VM, args ...interface{}) error
- func UnixcmdParser(vm *VM, args ...interface{})
- type ApplyFun
- type CompareFun
- type DupFun
- type Elem
- func AddOperator(vm *VM, e1 *Elem, e2 *Elem) (*Elem, error)
- func AndFunction(vm *VM, e *Elem) (*Elem, error)
- func AtBlock(d *Elem, n int64) (*Elem, error)
- func BigAdd(v *VM, e1 *Elem, e2 *Elem) (*Elem, error)
- func BigApply(v *VM, e1 *Elem, f func(interface{}) interface{}) (*Elem, error)
- func BigDiv(v *VM, e1 *Elem, e2 *Elem) (*Elem, error)
- func BigDup(vm *VM, e *Elem) *Elem
- func BigFactory(vm *VM) *Elem
- func BigFromString(vm *VM, d string) *Elem
- func BigMul(v *VM, e1 *Elem, e2 *Elem) (*Elem, error)
- func BigSub(v *VM, e1 *Elem, e2 *Elem) (*Elem, error)
- func BlockEval(vm *VM, args ...interface{}) (*Elem, error)
- func BlockExec(vm *VM, args ...interface{}) (*Elem, error)
- func BlockLambda(vm *VM, args ...interface{}) (*Elem, error)
- func BoolDup(vm *VM, e *Elem) *Elem
- func BoolFactory(vm *VM) *Elem
- func BoolFromString(vm *VM, d string) *Elem
- func BooleanEval(vm *VM, args ...interface{}) (*Elem, error)
- func BooleanExec(vm *VM, args ...interface{}) (*Elem, error)
- func BooleanLambda(vm *VM, args ...interface{}) (*Elem, error)
- func BundDup(vm *VM, e *Elem) *Elem
- func BundEval(vm *VM, args ...interface{}) (*Elem, error)
- func BundExec(vm *VM, args ...interface{}) (*Elem, error)
- func BundFactory(vm *VM) *Elem
- func BundFromString(vm *VM, d string) *Elem
- func BundLambda(vm *VM, args ...interface{}) (*Elem, error)
- func CallDup(vm *VM, e *Elem) *Elem
- func CallEval(vm *VM, args ...interface{}) (*Elem, error)
- func CallExec(vm *VM, args ...interface{}) (*Elem, error)
- func CallFactory(vm *VM) *Elem
- func CallFromString(vm *VM, d string) *Elem
- func CallLambda(vm *VM, args ...interface{}) (*Elem, error)
- func ChangeOperator(vm *VM, e *Elem, e1 *Elem) (*Elem, error)
- func ComplexDup(vm *VM, e *Elem) *Elem
- func ComplexEval(vm *VM, args ...interface{}) (*Elem, error)
- func ComplexExec(vm *VM, args ...interface{}) (*Elem, error)
- func ComplexFactory(vm *VM) *Elem
- func ComplexFromString(vm *VM, d string) *Elem
- func ComplexLambda(vm *VM, args ...interface{}) (*Elem, error)
- func CpxAdd(v *VM, e1 *Elem, e2 *Elem) (*Elem, error)
- func CpxApply(v *VM, e1 *Elem, f func(interface{}) interface{}) (*Elem, error)
- func CpxDiv(v *VM, e1 *Elem, e2 *Elem) (*Elem, error)
- func CpxMul(v *VM, e1 *Elem, e2 *Elem) (*Elem, error)
- func CpxSub(v *VM, e1 *Elem, e2 *Elem) (*Elem, error)
- func DBlockEval(vm *VM, args ...interface{}) (*Elem, error)
- func DBlockExec(vm *VM, args ...interface{}) (*Elem, error)
- func DBlockLambda(vm *VM, args ...interface{}) (*Elem, error)
- func DblockAdd(v *VM, e1 *Elem, e2 *Elem) (*Elem, error)
- func DblockApply(v *VM, e1 *Elem, f func(interface{}) interface{}) (*Elem, error)
- func DblockDiv(v *VM, e1 *Elem, e2 *Elem) (*Elem, error)
- func DblockDup(vm *VM, e *Elem) *Elem
- func DblockFactory(vm *VM) *Elem
- func DblockFromString(vm *VM, d string) *Elem
- func DblockMul(v *VM, e1 *Elem, e2 *Elem) (*Elem, error)
- func DblockSprintf(e *Elem) *Elem
- func DblockSub(v *VM, e1 *Elem, e2 *Elem) (*Elem, error)
- func DblockWalk(vm *VM, e *Elem, f func(float64) float64) (*Elem, error)
- func DblocksMathOnOperator(vm *VM, e1 *Elem, e2 *Elem, op int) (*Elem, error)
- func DblocksMathOp(vm *VM, e1 *Elem, e2 *Elem, op int) (*Elem, error)
- func DblocksMathOperator(vm *VM, e1 *Elem, e2 *Elem, op int) (*Elem, error)
- func DfDup(vm *VM, e *Elem) *Elem
- func DfFactory(vm *VM) *Elem
- func DfFromString(vm *VM, d string) *Elem
- func DivOperator(vm *VM, e1 *Elem, e2 *Elem) (*Elem, error)
- func DropElement(vm *VM, e *Elem) (*Elem, error)
- func DropOppositeElement(vm *VM, e *Elem) (*Elem, error)
- func DupElement(vm *VM, e *Elem) (*Elem, error)
- func EqOperator(vm *VM, e1 *Elem, e2 *Elem) (*Elem, error)
- func EvalCurrentElement(vm *VM, e *Elem) (*Elem, error)
- func EvalElement(vm *VM, e *Elem) (*Elem, error)
- func EvalInElement(vm *VM, e *Elem, e1 *Elem) (*Elem, error)
- func ExecuteElement(vm *VM, e *Elem) (*Elem, error)
- func ExitBlockEval(vm *VM, args ...interface{}) (*Elem, error)
- func ExitBlockExec(vm *VM, args ...interface{}) (*Elem, error)
- func ExitBlockLambda(vm *VM, args ...interface{}) (*Elem, error)
- func ExitDBlockEval(vm *VM, args ...interface{}) (*Elem, error)
- func ExitDBlockExec(vm *VM, args ...interface{}) (*Elem, error)
- func ExitDBlockLambda(vm *VM, args ...interface{}) (*Elem, error)
- func ExitFALSEBlockEval(vm *VM, args ...interface{}) (*Elem, error)
- func ExitFun(vm *VM, e *Elem) (*Elem, error)
- func ExitFunctionEval(vm *VM, args ...interface{}) (*Elem, error)
- func ExitFunctionExec(vm *VM, args ...interface{}) (*Elem, error)
- func ExitFunctionLambda(vm *VM, args ...interface{}) (*Elem, error)
- func ExitGeneratorEval(vm *VM, args ...interface{}) (*Elem, error)
- func ExitGeneratorExec(vm *VM, args ...interface{}) (*Elem, error)
- func ExitGeneratorLambda(vm *VM, args ...interface{}) (*Elem, error)
- func ExitLBlockEval(vm *VM, args ...interface{}) (*Elem, error)
- func ExitLBlockExec(vm *VM, args ...interface{}) (*Elem, error)
- func ExitLBlockLambda(vm *VM, args ...interface{}) (*Elem, error)
- func ExitLambdaEval(vm *VM, args ...interface{}) (*Elem, error)
- func ExitLambdaExec(vm *VM, args ...interface{}) (*Elem, error)
- func ExitLambdaLambda(vm *VM, args ...interface{}) (*Elem, error)
- func ExitMBlockEval(vm *VM, args ...interface{}) (*Elem, error)
- func ExitMBlockExec(vm *VM, args ...interface{}) (*Elem, error)
- func ExitMBlockLambda(vm *VM, args ...interface{}) (*Elem, error)
- func ExitNSEval(vm *VM, args ...interface{}) (*Elem, error)
- func ExitNSExec(vm *VM, args ...interface{}) (*Elem, error)
- func ExitNSLambda(vm *VM, args ...interface{}) (*Elem, error)
- func ExitOpEval(vm *VM, args ...interface{}) (*Elem, error)
- func ExitOpExec(vm *VM, args ...interface{}) (*Elem, error)
- func ExitOpLambda(vm *VM, args ...interface{}) (*Elem, error)
- func ExitTRUEBlockEval(vm *VM, args ...interface{}) (*Elem, error)
- func FALSEBlockEval(vm *VM, args ...interface{}) (*Elem, error)
- func FileDup(vm *VM, e *Elem) *Elem
- func FileEval(vm *VM, args ...interface{}) (*Elem, error)
- func FileExec(vm *VM, args ...interface{}) (*Elem, error)
- func FileFactory(vm *VM) *Elem
- func FileFromString(vm *VM, d string) *Elem
- func FileLambda(vm *VM, args ...interface{}) (*Elem, error)
- func FloatApply(v *VM, e1 *Elem, f func(interface{}) interface{}) (*Elem, error)
- func FloatDup(vm *VM, e *Elem) *Elem
- func FloatEval(vm *VM, args ...interface{}) (*Elem, error)
- func FloatExec(vm *VM, args ...interface{}) (*Elem, error)
- func FloatFactory(vm *VM) *Elem
- func FloatFromString(vm *VM, d string) *Elem
- func FloatLambda(vm *VM, args ...interface{}) (*Elem, error)
- func FltAdd(v *VM, e1 *Elem, e2 *Elem) (*Elem, error)
- func FltDiv(v *VM, e1 *Elem, e2 *Elem) (*Elem, error)
- func FltMul(v *VM, e1 *Elem, e2 *Elem) (*Elem, error)
- func FltRandomElement(vm *VM, e1 *Elem, e2 *Elem) (*Elem, error)
- func FltSub(v *VM, e1 *Elem, e2 *Elem) (*Elem, error)
- func FunctionEval(vm *VM, args ...interface{}) (*Elem, error)
- func FunctionExec(vm *VM, args ...interface{}) (*Elem, error)
- func FunctionLambda(vm *VM, args ...interface{}) (*Elem, error)
- func GTEQqOperator(vm *VM, e1 *Elem, e2 *Elem) (*Elem, error)
- func GTqOperator(vm *VM, e1 *Elem, e2 *Elem) (*Elem, error)
- func GeneratorEval(vm *VM, args ...interface{}) (*Elem, error)
- func GeneratorExec(vm *VM, args ...interface{}) (*Elem, error)
- func GeneratorLambda(vm *VM, args ...interface{}) (*Elem, error)
- func GetAlias(vm *VM, e *Elem) (*Elem, error)
- func GlobDup(vm *VM, e *Elem) *Elem
- func GlobEval(vm *VM, args ...interface{}) (*Elem, error)
- func GlobExec(vm *VM, args ...interface{}) (*Elem, error)
- func GlobFactory(vm *VM) *Elem
- func GlobFromString(vm *VM, d string) *Elem
- func GlobLambda(vm *VM, args ...interface{}) (*Elem, error)
- func GlobPatternMatchLongestPrefixOperator(v *VM, e1 *Elem, e2 *Elem) (*Elem, error)
- func GlobPatternMatchLongestSuffixOperator(v *VM, e1 *Elem, e2 *Elem) (*Elem, error)
- func GlobPatternMatchOperator(v *VM, e1 *Elem, e2 *Elem) (*Elem, error)
- func GlobPatternMatchPrefixOperator(v *VM, e1 *Elem, e2 *Elem) (*Elem, error)
- func GlobPatternMatchSuffixOperator(v *VM, e1 *Elem, e2 *Elem) (*Elem, error)
- func HtmlAttrGetElement(vm *VM, e *Elem, e1 *Elem) (*Elem, error)
- func HtmlDup(vm *VM, e *Elem) *Elem
- func HtmlElement(vm *VM, e *Elem) (*Elem, error)
- func HtmlFactory(vm *VM) *Elem
- func HtmlFindElement(vm *VM, e *Elem, e1 *Elem) (*Elem, error)
- func HtmlFromString(vm *VM, d string) *Elem
- func HtmlGetElement(vm *VM, e *Elem, e1 *Elem) (*Elem, error)
- func HttpDup(vm *VM, e *Elem) *Elem
- func HttpEval(vm *VM, args ...interface{}) (*Elem, error)
- func HttpExec(vm *VM, args ...interface{}) (*Elem, error)
- func HttpFactory(vm *VM) *Elem
- func HttpFromString(vm *VM, d string) *Elem
- func HttpGetElement(vm *VM, e *Elem) (*Elem, error)
- func HttpLambda(vm *VM, args ...interface{}) (*Elem, error)
- func HttpPostElement(vm *VM, e *Elem) (*Elem, error)
- func HttpSetAgentElement(vm *VM, e *Elem, e1 *Elem) (*Elem, error)
- func HttpSetDataElement(vm *VM, e *Elem, e1 *Elem) (*Elem, error)
- func HttpSetHeadersElement(vm *VM, e *Elem, e1 *Elem) (*Elem, error)
- func HttpSetParamsElement(vm *VM, e *Elem, e1 *Elem) (*Elem, error)
- func HttpSetProxyElement(vm *VM, e *Elem, e1 *Elem) (*Elem, error)
- func IndexEval(vm *VM, args ...interface{}) (*Elem, error)
- func IndexExec(vm *VM, args ...interface{}) (*Elem, error)
- func IndexLambda(vm *VM, args ...interface{}) (*Elem, error)
- func IntRandomElement(vm *VM, e1 *Elem, e2 *Elem) (*Elem, error)
- func IntegerEval(vm *VM, args ...interface{}) (*Elem, error)
- func IntegerExec(vm *VM, args ...interface{}) (*Elem, error)
- func IntegerLambda(vm *VM, args ...interface{}) (*Elem, error)
- func IntervalDup(vm *VM, e *Elem) *Elem
- func IntervalElement(vm *VM) (*Elem, error)
- func IntervalElementAdd(vm *VM, e1 *Elem, e2 *Elem) (*Elem, error)
- func IntervalElementRange(vm *VM, e1 *Elem, e2 *Elem) (*Elem, error)
- func IntervalElementStdDev(vm *VM, e1 *Elem, e2 *Elem) (*Elem, error)
- func IntervalElementTest(vm *VM, e1 *Elem, e2 *Elem) (*Elem, error)
- func IntervalFactory(vm *VM) *Elem
- func IntervalFromString(vm *VM, d string) *Elem
- func JsonArrayAddElement(vm *VM, e *Elem, d *Elem) (*Elem, error)
- func JsonArrayGetElement(vm *VM, e *Elem, d *Elem) (*Elem, error)
- func JsonArrayNewElement(vm *VM, e *Elem, d *Elem) (*Elem, error)
- func JsonDup(vm *VM, e *Elem) *Elem
- func JsonEval(vm *VM, args ...interface{}) (*Elem, error)
- func JsonExec(vm *VM, args ...interface{}) (*Elem, error)
- func JsonFactory(vm *VM) *Elem
- func JsonFromString(vm *VM, d string) *Elem
- func JsonGetElement(vm *VM, e *Elem, d *Elem) (*Elem, error)
- func JsonLambda(vm *VM, args ...interface{}) (*Elem, error)
- func JsonNewElement(vm *VM, e *Elem) (*Elem, error)
- func JsonSetElement(vm *VM, e *Elem, d *Elem) (*Elem, error)
- func LBlockEval(vm *VM, args ...interface{}) (*Elem, error)
- func LBlockExec(vm *VM, args ...interface{}) (*Elem, error)
- func LBlockLambda(vm *VM, args ...interface{}) (*Elem, error)
- func LSEQqOperator(vm *VM, e1 *Elem, e2 *Elem) (*Elem, error)
- func LSqOperator(vm *VM, e1 *Elem, e2 *Elem) (*Elem, error)
- func LambdaEval(vm *VM, args ...interface{}) (*Elem, error)
- func LambdaExec(vm *VM, args ...interface{}) (*Elem, error)
- func LambdaLambda(vm *VM, args ...interface{}) (*Elem, error)
- func LenFun(vm *VM) (*Elem, error)
- func MBlockEval(vm *VM, args ...interface{}) (*Elem, error)
- func MBlockExec(vm *VM, args ...interface{}) (*Elem, error)
- func MBlockLambda(vm *VM, args ...interface{}) (*Elem, error)
- func MatAdd(v *VM, e1 *Elem, e2 *Elem) (*Elem, error)
- func MatApply(v *VM, e1 *Elem, f func(interface{}) interface{}) (*Elem, error)
- func MatDiv(v *VM, e1 *Elem, e2 *Elem) (*Elem, error)
- func MatDup(vm *VM, e *Elem) *Elem
- func MatFactory(vm *VM) *Elem
- func MatFromString(vm *VM, d string) *Elem
- func MatMathOp(vm *VM, e1 *Elem, e2 *Elem, op int) (*Elem, error)
- func MatMathOperator(vm *VM, e1 *Elem, e2 *Elem, op int) (*Elem, error)
- func MatMul(v *VM, e1 *Elem, e2 *Elem) (*Elem, error)
- func MatSub(v *VM, e1 *Elem, e2 *Elem) (*Elem, error)
- func MathCosElement(vm *VM, e *Elem) (*Elem, error)
- func MathExpElement(vm *VM, e *Elem) (*Elem, error)
- func MathLog10Element(vm *VM, e *Elem) (*Elem, error)
- func MathLogElement(vm *VM, e *Elem) (*Elem, error)
- func MathPiElement(vm *VM, e *Elem) (*Elem, error)
- func MathSinElement(vm *VM, e *Elem) (*Elem, error)
- func MathSqrtElement(vm *VM, e *Elem) (*Elem, error)
- func MathTanElement(vm *VM, e *Elem) (*Elem, error)
- func MatrixElement(vm *VM, e *Elem) (*Elem, error)
- func MatrixElementBlock(vm *VM, e *Elem) (*Elem, error)
- func MatrixElementGet(vm *VM, e *Elem, e1 *Elem) (*Elem, error)
- func MatrixElementMake(vm *VM, e *Elem) (*Elem, error)
- func MatrixElementSet(vm *VM, e *Elem, e1 *Elem) (*Elem, error)
- func MatrixWalk(vm *VM, e *Elem, f func(float64) float64) (*Elem, error)
- func MulOperator(vm *VM, e1 *Elem, e2 *Elem) (*Elem, error)
- func NEqOperator(vm *VM, e1 *Elem, e2 *Elem) (*Elem, error)
- func NFun(vm *VM, e1 *Elem, e2 *Elem) (*Elem, error)
- func NOTElement(vm *VM, e *Elem) (*Elem, error)
- func NSEval(vm *VM, args ...interface{}) (*Elem, error)
- func NSExec(vm *VM, args ...interface{}) (*Elem, error)
- func NSLambda(vm *VM, args ...interface{}) (*Elem, error)
- func NameFun(vm *VM) (*Elem, error)
- func NoopApply(v *VM, e1 *Elem, f func(interface{}) interface{}) (*Elem, error)
- func NoopFunction(v *VM, e1 *Elem) (*Elem, error)
- func NoopGenerator(v *VM) (*Elem, error)
- func NoopOperator(v *VM, e1 *Elem, e2 *Elem) (*Elem, error)
- func OpEval(vm *VM, args ...interface{}) (*Elem, error)
- func OpExec(vm *VM, args ...interface{}) (*Elem, error)
- func OpLambda(vm *VM, args ...interface{}) (*Elem, error)
- func OrFunction(vm *VM, e *Elem) (*Elem, error)
- func PassthrougElement(vm *VM, e *Elem) (*Elem, error)
- func PctDup(vm *VM, e *Elem) *Elem
- func PctElement(vm *VM, e *Elem) (*Elem, error)
- func PctFactory(vm *VM) *Elem
- func PctFromString(vm *VM, d string) *Elem
- func PctUpdElement(vm *VM, e *Elem) (*Elem, error)
- func PercentOfOperator(vm *VM, e *Elem, e1 *Elem) (*Elem, error)
- func PercentOperator(vm *VM, e *Elem, e1 *Elem) (*Elem, error)
- func PrimeRandomElement(vm *VM, e *Elem) (*Elem, error)
- func PrintElement(vm *VM, e *Elem) (*Elem, error)
- func PrintStack(vm *VM) (*Elem, error)
- func PrintlnElement(vm *VM, e *Elem) (*Elem, error)
- func RCallEval(vm *VM, args ...interface{}) (*Elem, error)
- func RCallExec(vm *VM, args ...interface{}) (*Elem, error)
- func RCallLambda(vm *VM, args ...interface{}) (*Elem, error)
- func ReturnElement(vm *VM, e *Elem) (*Elem, error)
- func ReturnElementAndKeepOriginal(vm *VM, e *Elem) (*Elem, error)
- func ReturnElementFrom(vm *VM, e *Elem) (*Elem, error)
- func ReturnElementFromAndKeepOriginal(vm *VM, e *Elem) (*Elem, error)
- func ReturnElementTo(vm *VM, e *Elem, e2 *Elem) (*Elem, error)
- func RotateBackElement(vm *VM, e *Elem) (*Elem, error)
- func RotateFrontElement(vm *VM, e *Elem) (*Elem, error)
- func SepDup(vm *VM, e *Elem) *Elem
- func SepFactory(vm *VM) *Elem
- func SepFromString(vm *VM, d string) *Elem
- func SeparateEval(vm *VM, args ...interface{}) (*Elem, error)
- func SeparateExec(vm *VM, args ...interface{}) (*Elem, error)
- func SeparateLambda(vm *VM, args ...interface{}) (*Elem, error)
- func SeqFun(vm *VM, e *Elem) (*Elem, error)
- func SetAlias(vm *VM, e1 *Elem, e2 *Elem) (*Elem, error)
- func SleepFun(vm *VM, e *Elem) (*Elem, error)
- func StackDup(vm *VM, e *Elem) *Elem
- func StackFactory(vm *VM) *Elem
- func StackFromString(vm *VM, d string) *Elem
- func StrEval(vm *VM, args ...interface{}) (*Elem, error)
- func StrExec(vm *VM, args ...interface{}) (*Elem, error)
- func StrLambda(vm *VM, args ...interface{}) (*Elem, error)
- func StringAdd(v *VM, e1 *Elem, e2 *Elem) (*Elem, error)
- func StringApply(v *VM, e1 *Elem, f func(interface{}) interface{}) (*Elem, error)
- func StringDup(vm *VM, e *Elem) *Elem
- func StringFactory(vm *VM) *Elem
- func StringFromString(vm *VM, d string) *Elem
- func StringLinesElement(vm *VM, e *Elem) (*Elem, error)
- func StringTrimElement(vm *VM, e *Elem) (*Elem, error)
- func SubOperator(vm *VM, e1 *Elem, e2 *Elem) (*Elem, error)
- func TRUEBlockEval(vm *VM, args ...interface{}) (*Elem, error)
- func TypeFun(vm *VM, e *Elem) (*Elem, error)
- func UnixDup(vm *VM, e *Elem) *Elem
- func UnixFactory(vm *VM) *Elem
- func UnixFromString(vm *VM, d string) *Elem
- func UnixcmdEval(vm *VM, args ...interface{}) (*Elem, error)
- func UnixcmdExec(vm *VM, args ...interface{}) (*Elem, error)
- func UnixcmdLambda(vm *VM, args ...interface{}) (*Elem, error)
- func UseFun(v *VM, e1 *Elem) (*Elem, error)
- func VfsFileCloseElement(vm *VM, e *Elem) (*Elem, error)
- func VfsFileElement(vm *VM, e *Elem) (*Elem, error)
- func VfsFileExistsElement(vm *VM, e *Elem) (*Elem, error)
- func VfsFileReadElement(vm *VM, e *Elem) (*Elem, error)
- func VfsFileWriteElement(vm *VM, e *Elem, e1 *Elem) (*Elem, error)
- type ElemHandler
- type FactoryFun
- type FromStringFun
- type FunctionFun
- type GenFun
- type HTTP
- type Interval
- type NS
- func (ns *NS) AddToLCache(name string, e *Elem)
- func (ns *NS) CloseFunction() bool
- func (ns *NS) CloseGenerator() bool
- func (ns *NS) CloseLambda() bool
- func (ns *NS) CloseOperator() bool
- func (ns *NS) CurrentFunction() *deque.Deque
- func (ns *NS) CurrentGenerator() *deque.Deque
- func (ns *NS) CurrentLambda() *deque.Deque
- func (ns *NS) CurrentOperator() *deque.Deque
- func (ns *NS) GetAlias(key string) interface{}
- func (ns *NS) GetFunction(name string) *deque.Deque
- func (ns *NS) GetGenerator(name string) *deque.Deque
- func (ns *NS) GetLambda(name string) *deque.Deque
- func (ns *NS) GetOperator(name string) *deque.Deque
- func (ns *NS) GetOption(key string, deflt interface{}) interface{}
- func (ns *NS) HasFunction(name string) bool
- func (ns *NS) HasGenerator(name string) bool
- func (ns *NS) HasLambda(name string) bool
- func (ns *NS) HasOperator(name string) bool
- func (ns *NS) HaveFunction(name string) *deque.Deque
- func (ns *NS) HaveGenerator(name string) *deque.Deque
- func (ns *NS) HaveLambda(name string) *deque.Deque
- func (ns *NS) HaveOperator(name string) *deque.Deque
- func (ns *NS) InFunction(name string) bool
- func (ns *NS) InGenerator(name string) bool
- func (ns *NS) InLCache(name string) bool
- func (ns *NS) InLambda(name string) bool
- func (ns *NS) InOperator(name string) bool
- func (ns *NS) LCacheDel(name string)
- func (ns *NS) LCacheGet(name string) []Elem
- func (ns *NS) NameOfCurrentFunction() string
- func (ns *NS) NameOfCurrentGenerator() string
- func (ns *NS) NameOfCurrentLambda() string
- func (ns *NS) NameOfCurrentOperator() string
- func (ns *NS) SetAlias(key string, val interface{})
- func (ns *NS) SetOption(key string, val interface{})
- type OPCODE
- type OpcodeEvalFun
- type OpcodeExecFun
- type OpcodeGenerationFun
- type OpcodeInLambdaFun
- type OpcodeParserFun
- type OperatorFun
- type PERCEPTRON
- type ToStringFun
- type VM
- func (vm *VM) AddFunction(name string, fn FunctionFun) bool
- func (vm *VM) AddGen(name string, fn GenFun) bool
- func (vm *VM) AddOperator(name string, fn OperatorFun) bool
- func (vm *VM) AlwaysRunOp(t string, args ...interface{})
- func (vm *VM) Apply(name string) error
- func (vm *VM) AsNS(name string) *NS
- func (vm *VM) CanGet() bool
- func (vm *VM) CblockMatch(q *deque.Deque, e *Elem) bool
- func (vm *VM) CheckIgnore() bool
- func (vm *VM) CurrentFunction() *deque.Deque
- func (vm *VM) CurrentLambda() *deque.Deque
- func (vm *VM) DbgFun(pos int, cmd *Elem)
- func (vm *VM) DbgStack(msg string, cmd *Elem)
- func (vm *VM) Debug(msg string, args ...interface{})
- func (vm *VM) DelNS(name string)
- func (vm *VM) EndNS() *NS
- func (vm *VM) Error(msg string, args ...interface{})
- func (vm *VM) EvalCmd(cmd *Elem)
- func (vm *VM) Exec(e *Elem) (*Elem, error)
- func (vm *VM) Fatal(msg string, args ...interface{})
- func (vm *VM) GenType(t string, ff FactoryFun, ts ToStringFun, fs FromStringFun, cf CompareFun, ...) *ElemHandler
- func (vm *VM) Get() *Elem
- func (vm *VM) GetCurrentLambda(name string) *deque.Deque
- func (vm *VM) GetFunction(name string) (FunctionFun, error)
- func (vm *VM) GetGen(name string) (GenFun, error)
- func (vm *VM) GetNS(name string) *NS
- func (vm *VM) GetOperator(name string) (OperatorFun, error)
- func (vm *VM) GetType(t string) (*ElemHandler, error)
- func (vm *VM) HasUserFunction(name string) bool
- func (vm *VM) HasUserFunctionInNS(name string, nsname string) bool
- func (vm *VM) Ignore()
- func (vm *VM) InLambda() bool
- func (vm *VM) Info(msg string, args ...interface{})
- func (vm *VM) IsStack() bool
- func (vm *VM) LambdaRunOp(t string, args ...interface{})
- func (vm *VM) LexerPrint(code string)
- func (vm *VM) MustIgnore() bool
- func (vm *VM) NotIgnore()
- func (vm *VM) OnError(err error, msg string, args ...interface{})
- func (vm *VM) Opcode(t string) *OPCODE
- func (vm *VM) ParserExec(code string) *VM
- func (vm *VM) ParserPrint(code string)
- func (vm *VM) Put(e *Elem) bool
- func (vm *VM) RegisterOpcode(t string, ip OpcodeParserFun, il OpcodeInLambdaFun, ef OpcodeEvalFun, ...) bool
- func (vm *VM) RegisterOpcodes()
- func (vm *VM) RegisterType(t string, ff FactoryFun, ts ToStringFun, fs FromStringFun, cf CompareFun, ...) bool
- func (vm *VM) RegisterTypes()
- func (vm *VM) RunOp(t string, args ...interface{})
- func (vm *VM) Separate() *Elem
- func (vm *VM) SetType(t string, eh *ElemHandler) bool
- func (vm *VM) SetUserFunctionInNS(nsname string, name string, c *deque.Deque) bool
- func (vm *VM) Take() *Elem
- func (vm *VM) TakeOpposite() *Elem
- func (vm *VM) Warning(msg string, args ...interface{})
Constants ¶
View Source
const ( Lidk = 0 Llam = 1 Lgen = 2 Lfun = 3 Lops = 4 )
View Source
const ( Add = 1 Sub = 2 Mul = 3 Div = 4 )
View Source
const ( Eq = 0 Gt = 1 Ls = -1 IDK = -2 Ne = 2 )
Variables ¶
This section is empty.
Functions ¶
func BigToString ¶
func BlockParser ¶
func BlockParser(vm *VM, args ...interface{})
func BoolToString ¶
func BooleanGen ¶
func BooleanParser ¶
func BooleanParser(vm *VM, args ...interface{})
func BundParser ¶
func BundParser(vm *VM, args ...interface{})
func BundToString ¶
func CallParser ¶
func CallParser(vm *VM, args ...interface{})
func CallToString ¶
func ComplexGen ¶
func ComplexParser ¶
func ComplexParser(vm *VM, args ...interface{})
func ComplexToString ¶
func DBlockParser ¶
func DBlockParser(vm *VM, args ...interface{})
func DblockToString ¶
func DfToString ¶
func ExitBlockGen ¶
func ExitBlockParser ¶
func ExitBlockParser(vm *VM, args ...interface{})
func ExitDBlockGen ¶
func ExitDBlockParser ¶
func ExitDBlockParser(vm *VM, args ...interface{})
func ExitFunctionGen ¶
func ExitFunctionParser ¶
func ExitFunctionParser(vm *VM, args ...interface{})
func ExitGeneratorGen ¶
func ExitGeneratorParser ¶
func ExitGeneratorParser(vm *VM, args ...interface{})
func ExitLBlockGen ¶
func ExitLBlockParser ¶
func ExitLBlockParser(vm *VM, args ...interface{})
func ExitLambdaGen ¶
func ExitLambdaParser ¶
func ExitLambdaParser(vm *VM, args ...interface{})
func ExitMBlockGen ¶
func ExitMBlockParser ¶
func ExitMBlockParser(vm *VM, args ...interface{})
func ExitNSParser ¶
func ExitNSParser(vm *VM, args ...interface{})
func ExitOpParser ¶
func ExitOpParser(vm *VM, args ...interface{})
func FileParser ¶
func FileParser(vm *VM, args ...interface{})
func FileToString ¶
func FloatParser ¶
func FloatParser(vm *VM, args ...interface{})
func FloatToString ¶
func FunctionGen ¶
func FunctionParser ¶
func FunctionParser(vm *VM, args ...interface{})
func GeneratorGen ¶
func GeneratorParser ¶
func GeneratorParser(vm *VM, args ...interface{})
func GlobParser ¶
func GlobParser(vm *VM, args ...interface{})
func GlobToString ¶
func HtmlToString ¶
func HttpParser ¶
func HttpParser(vm *VM, args ...interface{})
func HttpToString ¶
func IndexParser ¶
func IndexParser(vm *VM, args ...interface{})
func InitEvalFunctions ¶
func InitEvalFunctions(vm *VM)
func InitFUNCTIONS ¶
func InitFUNCTIONS(vm *VM)
func InitGPMOperators ¶
func InitGPMOperators(vm *VM)
func InitHtmlFunctions ¶
func InitHtmlFunctions(vm *VM)
func InitHttpFunctions ¶
func InitHttpFunctions(vm *VM)
func InitIntervalFunctions ¶
func InitIntervalFunctions(vm *VM)
func InitJsonFunctions ¶
func InitJsonFunctions(vm *VM)
func InitMatFunctions ¶
func InitMatFunctions(vm *VM)
func InitMathFunctions ¶
func InitMathFunctions(vm *VM)
func InitOpMath ¶
func InitOpMath(vm *VM)
func InitOpPercent ¶
func InitOpPercent(vm *VM)
func InitOpcodeBlock ¶
func InitOpcodeBlock(vm *VM)
func InitOpcodeBoolean ¶
func InitOpcodeBoolean(vm *VM)
func InitOpcodeBund ¶
func InitOpcodeBund(vm *VM)
func InitOpcodeCall ¶
func InitOpcodeCall(vm *VM)
func InitOpcodeComplex ¶
func InitOpcodeComplex(vm *VM)
func InitOpcodeDBlock ¶
func InitOpcodeDBlock(vm *VM)
func InitOpcodeExitNs ¶
func InitOpcodeExitNs(vm *VM)
func InitOpcodeFile ¶
func InitOpcodeFile(vm *VM)
func InitOpcodeFloat ¶
func InitOpcodeFloat(vm *VM)
func InitOpcodeFunction ¶
func InitOpcodeFunction(vm *VM)
func InitOpcodeGenerator ¶
func InitOpcodeGenerator(vm *VM)
func InitOpcodeGlob ¶
func InitOpcodeGlob(vm *VM)
func InitOpcodeHttp ¶
func InitOpcodeHttp(vm *VM)
func InitOpcodeIndex ¶
func InitOpcodeIndex(vm *VM)
func InitOpcodeInteger ¶
func InitOpcodeInteger(vm *VM)
func InitOpcodeJson ¶
func InitOpcodeJson(vm *VM)
func InitOpcodeLBlock ¶
func InitOpcodeLBlock(vm *VM)
func InitOpcodeLambda ¶
func InitOpcodeLambda(vm *VM)
func InitOpcodeMBlock ¶
func InitOpcodeMBlock(vm *VM)
func InitOpcodeNs ¶
func InitOpcodeNs(vm *VM)
func InitOpcodeOperator ¶
func InitOpcodeOperator(vm *VM)
func InitOpcodeRCall ¶
func InitOpcodeRCall(vm *VM)
func InitOpcodeSeparate ¶
func InitOpcodeSeparate(vm *VM)
func InitOpcodeString ¶
func InitOpcodeString(vm *VM)
func InitOpcodeUnixcmd ¶
func InitOpcodeUnixcmd(vm *VM)
func InitPctFunctions ¶
func InitPctFunctions(vm *VM)
func InitPrintFunctions ¶
func InitPrintFunctions(vm *VM)
func InitReturnFunctions ¶
func InitReturnFunctions(vm *VM)
func InitRndFunctions ¶
func InitRndFunctions(vm *VM)
func InitStringFunctions ¶
func InitStringFunctions(vm *VM)
func InitSystemFunctions ¶
func InitSystemFunctions(vm *VM)
func InitVFSFunctions ¶
func InitVFSFunctions(vm *VM)
func IntegerGen ¶
func IntegerParser ¶
func IntegerParser(vm *VM, args ...interface{})
func IntervalToString ¶
func JsonParser ¶
func JsonParser(vm *VM, args ...interface{})
func JsonToString ¶
func LBlockParser ¶
func LBlockParser(vm *VM, args ...interface{})
func LambdaParser ¶
func LambdaParser(vm *VM, args ...interface{})
func MBlockParser ¶
func MBlockParser(vm *VM, args ...interface{})
func MatToString ¶
func PctToString ¶
func RCallParser ¶
func RCallParser(vm *VM, args ...interface{})
func RegisterBoolean ¶
func RegisterBoolean(vm *VM)
func RegisterBund ¶
func RegisterBund(vm *VM)
func RegisterCALL ¶
func RegisterCALL(vm *VM)
func RegisterCpx ¶
func RegisterCpx(vm *VM)
func RegisterDblock ¶
func RegisterDblock(vm *VM)
func RegisterDf ¶
func RegisterDf(vm *VM)
func RegisterFile ¶
func RegisterFile(vm *VM)
func RegisterFloat ¶
func RegisterFloat(vm *VM)
func RegisterGlob ¶
func RegisterGlob(vm *VM)
func RegisterHtml ¶
func RegisterHtml(vm *VM)
func RegisterHttp ¶
func RegisterHttp(vm *VM)
func RegisterInt ¶
func RegisterInt(vm *VM)
func RegisterInterval ¶
func RegisterInterval(vm *VM)
func RegisterJson ¶
func RegisterJson(vm *VM)
func RegisterMatrix ¶
func RegisterMatrix(vm *VM)
func RegisterPerceptron ¶
func RegisterPerceptron(vm *VM)
func RegisterSep ¶
func RegisterSep(vm *VM)
func RegisterStack ¶
func RegisterStack(vm *VM)
func RegisterString ¶
func RegisterString(vm *VM)
func RegisterUnix ¶
func RegisterUnix(vm *VM)
func SepToString ¶
func SeparateGen ¶
func SeparateParser ¶
func SeparateParser(vm *VM, args ...interface{})
func SimpleEvalCmd ¶
func StackToString ¶
func StringDeepCopy ¶
func StringToString ¶
func UnixToString ¶
func UnixcmdGen ¶
func UnixcmdParser ¶
func UnixcmdParser(vm *VM, args ...interface{})
Types ¶
type Elem ¶
func BigFactory ¶
func BigFromString ¶
func BlockLambda ¶
func BoolFactory ¶
func BoolFromString ¶
func BooleanEval ¶
func BooleanExec ¶
func BooleanLambda ¶
func BundFactory ¶
func BundFromString ¶
func BundLambda ¶
func CallFactory ¶
func CallFromString ¶
func CallLambda ¶
func ComplexDup ¶
func ComplexEval ¶
func ComplexExec ¶
func ComplexFactory ¶
func ComplexFromString ¶
func ComplexLambda ¶
func DBlockEval ¶
func DBlockExec ¶
func DBlockLambda ¶
func DblockApply ¶
func DblockFactory ¶
func DblockFromString ¶
func DblockSprintf ¶
func DblocksMathOnOperator ¶
func DblocksMathOperator ¶
func DfFromString ¶
func ExitBlockEval ¶
func ExitBlockExec ¶
func ExitBlockLambda ¶
func ExitDBlockEval ¶
func ExitDBlockExec ¶
func ExitDBlockLambda ¶
func ExitFALSEBlockEval ¶
func ExitFunctionEval ¶
func ExitFunctionExec ¶
func ExitFunctionLambda ¶
func ExitGeneratorEval ¶
func ExitGeneratorExec ¶
func ExitGeneratorLambda ¶
func ExitLBlockEval ¶
func ExitLBlockExec ¶
func ExitLBlockLambda ¶
func ExitLambdaEval ¶
func ExitLambdaExec ¶
func ExitLambdaLambda ¶
func ExitMBlockEval ¶
func ExitMBlockExec ¶
func ExitMBlockLambda ¶
func ExitNSEval ¶
func ExitNSExec ¶
func ExitNSLambda ¶
func ExitOpEval ¶
func ExitOpExec ¶
func ExitOpLambda ¶
func ExitTRUEBlockEval ¶
func FALSEBlockEval ¶
func FileFactory ¶
func FileFromString ¶
func FileLambda ¶
func FloatFactory ¶
func FloatFromString ¶
func FloatLambda ¶
func FunctionEval ¶
func FunctionExec ¶
func FunctionLambda ¶
func GeneratorEval ¶
func GeneratorExec ¶
func GeneratorLambda ¶
func GlobFactory ¶
func GlobFromString ¶
func GlobLambda ¶
func HtmlFactory ¶
func HtmlFromString ¶
func HttpFactory ¶
func HttpFromString ¶
func HttpLambda ¶
func IndexLambda ¶
func IntegerEval ¶
func IntegerExec ¶
func IntegerLambda ¶
func IntervalDup ¶
func IntervalElement ¶
func IntervalFactory ¶
func IntervalFromString ¶
func JsonFactory ¶
func JsonFromString ¶
func JsonLambda ¶
func LBlockEval ¶
func LBlockExec ¶
func LBlockLambda ¶
func LambdaEval ¶
func LambdaExec ¶
func LambdaLambda ¶
func MBlockEval ¶
func MBlockExec ¶
func MBlockLambda ¶
func MatFactory ¶
func MatFromString ¶
func NoopGenerator ¶
func PctFactory ¶
func PctFromString ¶
func PrintStack ¶
func RCallLambda ¶
func SepFactory ¶
func SepFromString ¶
func SeparateEval ¶
func SeparateExec ¶
func SeparateLambda ¶
func StackFactory ¶
func StackFromString ¶
func StringApply ¶
func StringFactory ¶
func StringFromString ¶
func TRUEBlockEval ¶
func UnixFactory ¶
func UnixFromString ¶
func UnixcmdEval ¶
func UnixcmdExec ¶
func UnixcmdLambda ¶
type ElemHandler ¶
type ElemHandler struct {
Type string
Factory FactoryFun
ToString ToStringFun
FromString FromStringFun
Compare CompareFun
Duplicate DupFun
Add OperatorFun
Sub OperatorFun
Mul OperatorFun
Div OperatorFun
Apply ApplyFun
}
type FactoryFun ¶
type FromStringFun ¶
type HTTP ¶
type HTTP struct {
URL string
RO *grequests.RequestOptions
}
type NS ¶
type NS struct {
Name string
VM *VM
Stack deque.Deque
Fun *cmap.Cmap
Ops *cmap.Cmap
Gen *cmap.Cmap
Options cmap.Cmap
LambdasStack deque.Deque
LSMode deque.Deque
Aliases cmap.Cmap
CurrentLambdaName string
LCache cmap.Cmap
}
func (*NS) AddToLCache ¶
func (*NS) CloseFunction ¶
func (*NS) CloseGenerator ¶
func (*NS) CloseLambda ¶
func (*NS) CloseOperator ¶
func (*NS) CurrentFunction ¶
func (*NS) CurrentGenerator ¶
func (*NS) CurrentLambda ¶
func (*NS) CurrentOperator ¶
func (*NS) HasFunction ¶
func (*NS) HasGenerator ¶
func (*NS) HasOperator ¶
func (*NS) InFunction ¶
func (*NS) InGenerator ¶
func (*NS) InOperator ¶
func (*NS) NameOfCurrentFunction ¶
func (*NS) NameOfCurrentGenerator ¶
func (*NS) NameOfCurrentLambda ¶
func (*NS) NameOfCurrentOperator ¶
type OPCODE ¶
type OPCODE struct {
Name string
InParser OpcodeParserFun
InLambda OpcodeInLambdaFun
InEval OpcodeEvalFun
InGen OpcodeGenerationFun
InExec OpcodeExecFun
}
type OpcodeEvalFun ¶
type OpcodeExecFun ¶
type OpcodeGenerationFun ¶
type OpcodeInLambdaFun ¶
type OpcodeParserFun ¶
type OpcodeParserFun func(v *VM, args ...interface{})
type PERCEPTRON ¶
type ToStringFun ¶
type VM ¶
type VM struct {
Name string
Mode bool
IsIgnore deque.Deque
NSStack deque.Deque
NS cmap.Cmap
Current *deque.Deque
CurrentNS *NS
CurrentElem *Elem
RootNS *NS
Options cmap.Cmap
Opcodes cmap.Cmap
Types cmap.Cmap
Functions cmap.Cmap
Operators cmap.Cmap
Generators cmap.Cmap
}
func (*VM) AddFunction ¶
func (vm *VM) AddFunction(name string, fn FunctionFun) bool
func (*VM) AddOperator ¶
func (vm *VM) AddOperator(name string, fn OperatorFun) bool
func (*VM) AlwaysRunOp ¶
func (*VM) CheckIgnore ¶
func (*VM) CurrentFunction ¶
func (*VM) CurrentLambda ¶
func (*VM) GenType ¶
func (vm *VM) GenType(t string, ff FactoryFun, ts ToStringFun, fs FromStringFun, cf CompareFun, df DupFun) *ElemHandler
func (*VM) GetFunction ¶
func (vm *VM) GetFunction(name string) (FunctionFun, error)
func (*VM) GetOperator ¶
func (vm *VM) GetOperator(name string) (OperatorFun, error)
func (*VM) HasUserFunction ¶
func (*VM) LambdaRunOp ¶
func (*VM) LexerPrint ¶
func (*VM) MustIgnore ¶
func (*VM) ParserExec ¶
func (*VM) ParserPrint ¶
func (*VM) RegisterOpcode ¶
func (vm *VM) RegisterOpcode(t string, ip OpcodeParserFun, il OpcodeInLambdaFun, ef OpcodeEvalFun, ex OpcodeGenerationFun, im OpcodeExecFun) bool
func (*VM) RegisterOpcodes ¶
func (vm *VM) RegisterOpcodes()
func (*VM) RegisterType ¶
func (vm *VM) RegisterType(t string, ff FactoryFun, ts ToStringFun, fs FromStringFun, cf CompareFun, df DupFun) bool
func (*VM) RegisterTypes ¶
func (vm *VM) RegisterTypes()
func (*VM) SetUserFunctionInNS ¶
func (*VM) TakeOpposite ¶
Source Files
¶
- dblock.go
- dblockmath.go
- exec_block.go
- exec_boolean.go
- exec_call.go
- exec_cpx.go
- exec_datablock.go
- exec_float.go
- exec_function.go
- exec_generator.go
- exec_index.go
- exec_int.go
- exec_lambda.go
- exec_logicblock.go
- exec_matchblock.go
- exec_ns.go
- exec_operator.go
- exec_ref_call.go
- exec_separate.go
- exec_string.go
- matmath.go
- ns.go
- nsaliases.go
- nsfunction.go
- nsgenerator.go
- nslambda.go
- nslcache.go
- nsoperator.go
- opcode_block.go
- opcode_boolean.go
- opcode_bund.go
- opcode_call.go
- opcode_complex.go
- opcode_dblock.go
- opcode_exitns.go
- opcode_file.go
- opcode_float.go
- opcode_function.go
- opcode_generator.go
- opcode_glob.go
- opcode_http.go
- opcode_index.go
- opcode_integer.go
- opcode_json.go
- opcode_lambda.go
- opcode_lblock.go
- opcode_mblock.go
- opcode_ns.go
- opcode_operator.go
- opcode_ref_call.go
- opcode_separate.go
- opcode_str.go
- opcode_unixcmd.go
- stdlib.go
- stdlib_eval.go
- stdlib_html.go
- stdlib_interval.go
- stdlib_mathfun.go
- stdlib_opcmp.go
- stdlib_opglobpatternmatch.go
- stdlib_opmath.go
- stdlib_oppercent.go
- stdlib_print.go
- stdlib_sysfun.go
- stdlib_syshttp.go
- stdlib_sysjson.go
- stdlib_sysmat.go
- stdlib_syspct.go
- stdlib_sysreturn.go
- stdlib_sysrnd.go
- stdlib_sysstr.go
- stdlib_sysvfs.go
- type.go
- type_bool.go
- type_bund.go
- type_call.go
- type_complex.go
- type_dblock.go
- type_df.go
- type_file.go
- type_float.go
- type_glob.go
- type_html.go
- type_http.go
- type_int.go
- type_interval.go
- type_json.go
- type_mat.go
- type_perceptron.go
- type_separate.go
- type_stack.go
- type_string.go
- type_unix.go
- vm.go
- vmapply.go
- vmcblockmatch.go
- vmdbgfun.go
- vmelem.go
- vmexec.go
- vmexecparse.go
- vmfuncs.go
- vmignore.go
- vmlambda.go
- vmlog.go
- vmns.go
- vmopcodes.go
- vmprintlexer.go
- vmprintparse.go
- vmrunop.go
- vmseparate.go
- vmstack.go
- walkover.go
Click to show internal directories.
Click to hide internal directories.