maug
Quick and dirty C mini-augmentation library.
Loading...
Searching...
No Matches
mlisps.h File Reference

MLISP Interpreter/Parser Structs. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

union  MLISP_VAL
 
struct  MLISP_ENV_NODE
 
struct  MLISP_STACK_NODE
 
struct  MLISP_AST_NODE
 
struct  MLISP_EXEC_STATE
 
struct  MLISP_PARSER
 

Macros

#define MLISP_TRACE_LVL   0
 
#define MLISP_TRACE_SIGIL   "TRACE"
 
#define MLISP_AST_IDX_CHILDREN_MAX   10
 
#define MLISP_EXEC_FLAG_DEF_TERM   0x02
 Flag for MLISP_EXEC_STATE::flags indicating next token is a term to be defined.
 
#define MLISP_NUM_TYPE_TABLE(f)
 Table of numeric types.
 
#define MLISP_TYPE_TABLE(f)
 Table of other types.
 
#define _MLISP_TYPE_TABLE_FIELDS(idx, ctype, name, const_name, fmt)
 

Typedefs

typedef ssize_t mlisp_lambda_t
 
typedef mlisp_lambda_t mlisp_args_t
 
typedef mlisp_lambda_t mlisp_arge_t
 
typedef mlisp_lambda_t mlisp_if_t
 
typedef mlisp_lambda_t mlisp_begin_t
 
typedef uint8_t mlisp_bool_t
 
typedef MERROR_RETVAL(* mlisp_env_cb_t) (struct MLISP_PARSER *parser, struct MLISP_EXEC_STATE *exec, size_t n_idx, size_t args_c, void *cb_data, uint8_t flags)
 

Detailed Description

MLISP Interpreter/Parser Structs.