x-engine-c v0.2.13
The C engine for x-lang
Loading...
Searching...
No Matches
list.h
Go to the documentation of this file.
1#ifndef X_SEXP_LIST_H
2#define X_SEXP_LIST_H
3
11/*
12 * ., .,
13 * {O,O}
14 * ( )
15 * " "
16 */
17
18#include "x-obj.h"
19
20#ifndef X_SEXP_LIST_PRE_STR
21#define X_SEXP_LIST_PRE_STR "("
22#endif /* X_SEXP_LIST_PRE_STR */
23
24#ifndef X_SEXP_LIST_DOT_STR
25#define X_SEXP_LIST_DOT_STR "."
26#endif /* X_SEXP_LIST_DOT_STR */
27
28#ifndef X_SEXP_LIST_POST_STR
29#define X_SEXP_LIST_POST_STR ")"
30#endif /* X_SEXP_LIST_POST_STR */
31
32#ifndef X_SEXP_LIST_CHARS_STR
44#define X_SEXP_LIST_CHARS_STR X_SEXP_LIST_PRE_STR X_SEXP_LIST_POST_STR
45#endif /* X_SEXP_LIST_CHARS_STR */
46
60
61#endif /* X_SEXP_LIST_H */
Definition x-obj.h:212
The x-expr object system – atoms, pairs, flags, and type dispatch.
x_obj_t x_satom_t[X_OBJ_META_LEN+X_OBJ_UNITS_ATOM]
Definition x-obj.h:283
x_satom_t x_sexp_list_read_prim
Definition list.h:51
x_obj_t * x_sexp_list_analyse(x_obj_t *p_base, x_obj_t *args)
Definition list.c:45
x_obj_t * x_sexp_list_delimit(x_obj_t *p_base, x_obj_t *args)
Definition list.c:68
x_satom_t x_sexp_list_delimit_prim
Definition list.h:50
x_satom_t x_sexp_list_analyse_prim
Definition list.c:25
x_obj_t * x_sexp_list_read(x_obj_t *p_base, x_obj_t *args)
Definition list.c:122