maug
Quick and dirty C mini-augmentation library.
|
MLISP Parser Functions and Macros. More...
#include <mlisps.h>
Go to the source code of this file.
Macros | |
#define | MLISP_PARSE_TRACE_LVL 0 |
#define | MLISP_AST_FLAG_LAMBDA 0x02 |
#define | MLISP_AST_FLAG_IF 0x04 |
#define | MLISP_AST_FLAG_DEFINE 0x08 |
#define | MLISP_AST_FLAG_BEGIN 0x20 |
#define | MLISP_PARSER_PSTATE_TABLE(f) |
#define | mlisp_parser_pstate(parser) |
#define | mlisp_parser_pstate_push(parser, new_pstate) |
#define | mlisp_parser_pstate_pop(parser) |
#define | mlisp_parser_invalid_c(parser, c, retval) |
#define | mlisp_parser_reset_token(parser) |
#define | mlisp_parser_append_token(parser, c) |
#define | mlisp_parser_parse_token(parser) |
#define | _MLISP_TYPE_TABLE_CONSTS(idx, ctype, name, const_name, fmt) |
Functions | |
MERROR_RETVAL | mlisp_ast_dump (struct MLISP_PARSER *parser, size_t ast_node_idx, size_t depth, char ab) |
MERROR_RETVAL | mlisp_parse_c (struct MLISP_PARSER *parser, char c) |
MERROR_RETVAL | mlisp_parser_init (struct MLISP_PARSER *parser) |
MERROR_RETVAL | mlisp_exec_init (struct MLISP_PARSER *parser, struct MLISP_EXEC_STATE *exec) |
void | mlisp_parser_free (struct MLISP_PARSER *parser) |
MLISP_TYPE_TABLE (_MLISP_TYPE_TABLE_CONSTS) | |
MLISP Parser Functions and Macros.
#define _MLISP_TYPE_TABLE_CONSTS | ( | idx, | |
ctype, | |||
name, | |||
const_name, | |||
fmt ) |