BEGIN_PARSE |
BEGIN_PARSE( interpreter, astptr )
Prepare for parameter parsing and make sure we have an opeing bracket. The interpreter is the pointer to current interpreter passed to the function callback and the astptr is the pointer to the current AST passed as the second parameter to the function callback.
Example
int _hello_func( mb_interpreter_t* s, void** l ) { // Parse Empty Parameters BEGIN_PARSE( s, l ) END_PARSE
// Create output String COPY_STRING( pHello, "HELLO" );
// Return the string "HELLO" RETURN_STRING( pHello ); }
|