Vnano Standard Plug-ins Specifications


Abstract

Vnano Standard Plug-ins are a set of official plug-ins providing basic utility features as functions/variables available in Vnano (VCSSL nano) scripts.

These standard plug-ins may be bundled with applications (software) on which scripting features in the Vnano are supported. On such applications, features (functions/variables) provided by standard plug-ins are available by default. However, depending with the purpose of the scripting feature of the application, some (or all) of standard plug-ing may not be bundled. See the document of the application for checking which standard plug-ins are available.

License

All Vnano Standard Plug-ins are released under CC0.

List of Standard Plug-ins and Features

System Plug-in Group

Plug-ins providing basic features, e.g.: I/O features, utility features, and so on.

SystemEnvironmentXnci1Plugin
Provides environment-related variables.
Variables: EOL / LF / CR
SystemDataTypeXnci1Plugin
Provides data-type-utility functions/variables.
Variables: INT_MAX / INT_MIN / FLOAT_MAX / FLOAT_MIN_ABS_NORMAL / FLOAT_MIN_ABS_DENORMAL / NAN / INF
Functions: nan(value) / inf(value) / length(array, dimIndex) / rank(array)
SystemTerminalIOXnci1Plugin
Provides I/O functions from/to the terminal.
Variables: print(...) / println(...)
SystemTimeXnci1Plugin
Provides time-utility functions.
Functions: time() / sleep(sleepTime)
SystemTerminationXnci1Plugin
Provides functions for terminating scripts.
Functions: exit() / exit(exitStatusCode) / error(errorMessage)
SystemTestXnci1Plugin
Provides utility functions for testing.
Functions: assert(expectedCondition)

Math Plug-in Group

Plug-ins providing elementary math & statistical functions.

MathElementaryXnci1Plugin
Provides elementary math functions.
Variables: PI
Functons: rad(degree) / deg(radian) / sin(x) / cos(x) / tan(x) / asin(x) / acos(x) / atan(x) / sqrt(x) / ln(x) / log10(x) / pow(x,exponent) / exp(x) / abs(x)
MathStatisticalXnci1Plugin
Provides elementary statistical functions.
Functions: sum(...) / mean(...) / van(...) / van1(...) / sdn(...) / sdn1(...)