6 #define NAMESTACK_ENV 3
9 #define CATCHSTACK_ENV 6
12 /* Error handlers restore this */
16 /* TAGGED top of datastack; EMPTY if datastack is empty */
18 /* TAGGED currently executing quotation */
20 /* TAGGED pointer to datastack bottom */
22 /* raw pointer to datastack top */
24 /* TAGGED pointer to callstack bottom */
26 /* raw pointer to callstack top */
28 /* raw pointer to currently executing word */
30 /* TAGGED bootstrap quotation */
32 /* TAGGED user environment data */
38 void clear_environment(void);
39 void init_environment(void);
40 void check_non_empty(CELL cell);
42 INLINE CELL dpop(void)
48 INLINE void dpush(CELL top)
54 INLINE CELL dpeek(void)
56 return get(env.ds - CELLS);
59 INLINE CELL cpop(void)
65 INLINE void cpush(CELL top)
71 INLINE CELL cpeek(void)
73 return get(env.cs - CELLS);
79 void primitive_execute(void);
80 void primitive_call(void);
81 void primitive_ifte(void);
82 void primitive_getenv(void);
83 void primitive_setenv(void);
84 void primitive_exit(void);