x-engine-c v0.2.13
The C engine for x-lang
Loading...
Searching...
No Matches
x-toplevel.h
Go to the documentation of this file.
1#ifndef X_TOPLEVEL_H
2#define X_TOPLEVEL_H
3
18/*
19 * ., .,
20 * {O,O}
21 * ( )
22 * " "
23 */
24
25#include "x-obj.h"
26
29typedef struct x_toplevel_t {
31 x_spair_t parked; /* the displaced state, rooted for the bracket's length */
33
35void x_toplevel_enter(x_obj_t *p_base, x_toplevel_t *p_t);
36
38void x_toplevel_leave(x_obj_t *p_base, x_toplevel_t *p_t);
39
40#endif /* X_TOPLEVEL_H */
Definition x-toplevel.h:29
x_obj_t * p_saved_env
Definition x-toplevel.h:30
x_spair_t parked
Definition x-toplevel.h:31
x_obj_t * p_saved_stack
Definition x-toplevel.h:30
Definition x-obj.h:212
The x-expr object system – atoms, pairs, flags, and type dispatch.
x_obj_t x_spair_t[X_OBJ_META_LEN+X_OBJ_UNITS_PAIR]
Definition x-obj.h:286
void x_toplevel_enter(x_obj_t *p_base, x_toplevel_t *p_t)
Definition x-toplevel.c:47
void x_toplevel_leave(x_obj_t *p_base, x_toplevel_t *p_t)
Definition x-toplevel.c:79