6 #define NAMESTACK_ENV 3
10 /* Error handlers restore this */
14 /* TAGGED top of datastack; EMPTY if datastack is empty */
16 /* TAGGED currently executing quotation */
18 /* TAGGED pointer to datastack bottom */
20 /* raw pointer to datastack top */
22 /* TAGGED pointer to callstack bottom */
24 /* raw pointer to callstack top */
26 /* raw pointer to currently executing word */
28 /* TAGGED bootstrap quotation */
30 /* TAGGED user environment data */
36 void clear_environment(void);
37 void init_environment(void);
38 void check_non_empty(CELL cell);
40 INLINE CELL dpop(void)
46 INLINE void dpush(CELL top)
52 INLINE CELL dpeek(void)
54 return get(env.ds - CELLS);
57 INLINE CELL cpop(void)
63 INLINE void cpush(CELL top)
69 INLINE CELL cpeek(void)
71 return get(env.cs - CELLS);
77 void primitive_execute(void);
78 void primitive_call(void);
79 void primitive_ifte(void);
80 void primitive_getenv(void);
81 void primitive_setenv(void);
82 void primitive_exit(void);