Interpreter functions
The Interpreter Functions module provides the core language constructs and control mechanisms that define the execution flow in Nelson.
It includes essential elements such as loops, conditional branching, error handling, and function declarations.
The module also offers tools for parsing code, working with keywords, and managing recursion limits.
Together, these features establish the fundamental syntax and semantics of the Nelson language, enabling users to write structured, dynamic, and reliable programs.
Functions
abort - stop evaluation.
return - stop evaluation.
break - exit evaluation loop.
continue - continue evaluation in loop.
for - for loop.
parfor - for loop.
function - function declaration.
endfunction - function declaration.
if - conditional statement.
iskeyword - Returns all Nelson keywords.
keyboard - Stops script execution and enter in debug mode.
max_recursion_depth - Internal limit on the number of times a function may be called recursively.
numeric types - About integer and floating-point data.
parsefile - Parse a Nelson file.
parsestring - Parse a string.
switch - switch statement.
try - try/catch statement.
catch - try/catch statement.
while - while loop.
Last updated
Was this helpful?