|
maug
Quick and dirty C mini-augmentation library.
|

Macros | |
| #define | MLISP_STACK_FLAG_PEEK 0x01 |
| Flag for mlisp_stack_pop_ex() indicating the value should not be removed from the stack. | |
| #define | mlisp_stack_pop(exec, o) |
| Wrapper for mlisp_stack_pop() with no flags. | |
| #define | mlisp_stack_push(exec, i, ctype) |
| Push a value onto MLISP_EXEC_STATE::stack. | |
Functions | |
| MERROR_RETVAL | mlisp_stack_dump (struct MLISP_PARSER *parser, struct MLISP_EXEC_STATE *exec) |
| Dump the stack from the given parser/exec combination. | |
| MERROR_RETVAL | mlisp_stack_pop_ex (struct MLISP_EXEC_STATE *exec, struct MLISP_STACK_NODE *o, uint8_t flags) |
| Pop a value off of (removing from) MLISP_EXEC_STATE::stack and copy it to a provided output. | |
| #define mlisp_stack_pop | ( | exec, | |
| o ) |
Wrapper for mlisp_stack_pop() with no flags.
| #define mlisp_stack_push | ( | exec, | |
| i, | |||
| ctype ) |
Push a value onto MLISP_EXEC_STATE::stack.
| exec | Pointer to the running MLISP_EXEC_STATE. |
| i | Value to push. |
| C | type of the value to push. Please see MLISP Types for more information. |
| MERROR_RETVAL mlisp_stack_dump | ( | struct MLISP_PARSER * | parser, |
| struct MLISP_EXEC_STATE * | exec ) |
Dump the stack from the given parser/exec combination.
| MERROR_RETVAL mlisp_stack_pop_ex | ( | struct MLISP_EXEC_STATE * | exec, |
| struct MLISP_STACK_NODE * | o, | ||
| uint8_t | flags ) |
Pop a value off of (removing from) MLISP_EXEC_STATE::stack and copy it to a provided output.