Imported Upstream version 0.1beta
[debian/yforth] / toolse.h
1 /* yForth? - Written by Luca Padovani (C) 1996/97
2  * ------------------------------------------------------------------------
3  * This software is FreeWare as long as it comes with this header in each
4  * source file, anyway you can use it or any part of it whatever
5  * you want. It comes without any warranty, so use it at your own risk.
6  * ------------------------------------------------------------------------
7  * Module name: toolse.h
8  * Abstract:    Include file for "Programming Tools extension" word set
9  */
10
11 #ifdef DECLARE_WORDS
12 #       ifdef PROTOTYPES
13 #               undef PROTOTYPES
14 #       endif
15 #       undef __TOOLSE_H__
16 #else
17 #       ifndef PROTOTYPES
18 #               define PROTOTYPES
19 #       endif
20 #endif
21
22 #ifndef __TOOLSE_H__
23 #define __TOOLSE_H__
24
25 #include "yforth.h"
26 #include "macro.h"
27
28 /**************************************************************************/
29 /* PROTOTYPES *************************************************************/
30 /**************************************************************************/
31
32 code(ahead,                                                     "ahead",                                COMP_ONLY | IMMEDIATE)
33 code(bye,                                                       "bye",                                  0)
34 code(pick,                                                      "cs-pick",                              COMP_ONLY)
35 code(roll,                                                      "cs-roll",                              COMP_ONLY)
36 code(bracket_else,                                      "[else]",                               IMMEDIATE)
37 code(bracket_if,                                        "[if]",                                 IMMEDIATE)
38 code(bracket_then,                                      "[then]",                               IMMEDIATE)
39
40 #ifdef PROTOTYPES
41
42 #endif
43
44 #endif