package
0.0.0-20210228224550-dbeee19e8fb6
Repository: https://github.com/rumlang/rum.git
Documentation: pkg.go.dev

# Functions

Array define single or multiple-dimension arrays using the make-array function.
CheckArity return an function to check if the arity of function call is n.
Coerce returns the value v converted to type t.
ConcatIdentifier ...
Def is a group of statements that together perform a task.
Eval implements the eval function.
For implements for loop.
If implements the 'if' builtin function.
Import implements the import package feature.
Invoke call a method from native value.
Lambda anonymous functions that are evaluated only when they are encountered in the program.
Length implements the len function.
Let implements the let reserved word.
MethodNameTransform ...
NewContext create new runtime context instance and load default parser funcrions.
OpAdd implements the '+' function.
OpEqual implements the == comparaison operator.
OpGreater implements the > comparaison operator.
OpGreaterEqual implements the >= comparaison operator.
OpLess implements the < comparaison operator.
OpLessEqual implements the <= comparaison operator.
OpMul implements the '*' function.
OpNotEqual implements the != comparaison operator.
OpPow implements exponentiation '**' function.
OpSub implements the '-' function.
Package implements the package reserved word.
Panic implements the panic function.
ParamToFloat64 return an Adapter to convert the p nth param to float64 type.
ParamToInt64 return an Adapter to convert the p nth param to int64 type.
Print implements the print function.
Println implements the print function.
Sprintf implements the sprintf function.
Type implements the type function.

# Constants

ErrPanic is an error caused by a panic within the interpreter.
ErrUnknownVariable is raised when trying to resolve an unknown symbol.

# Structs

Context contains details about the current execution frame.
CSVLib struct.
Error is sent through panic when something went wrong during the execution.
StringsLib struct.

# Interfaces

StdLib ...

# Type aliases

Adapter is an function type can be used to change/check params to registred golang functions.
ErrorCode type to parser errors.
Internal is the type used to recognized internal functions (for which arguments are not evaluated automatically) from regular functions.