-/* function type */
-
-typedef enum {
- Val = 0, Sig,
- Add, Sub,
- Mul, Div, Mod,
- Pow, Sqr,
- Cos, Sin, Tan, Acos, Asin, Atan,
- Log, Exp,
- Abs, Ceil, Floor,
- Store, Recall, Inc, Dec, Disp, Mem, Clear,
- Quit, Help,
- Ans, E, Pi,
- Equal, Diff, Ge, Le, Gt, Lt,
- And, Or, Not,
- Cond, While, Code, Print,
- Prog, Call, List, Edit, Del
-} func_t;
-
-/* keyword type */
-
-typedef struct _keyword_t {
- char *keyword;
- func_t func;
- int nbops;
- int offset;
- float prio;
-} keyword_t;
-
-/* calculus element type */
-
-typedef struct _element_t {
- func_t func;
- int nbops;
- struct _element_t **ops;
- double value;
- int prio;
- int hidden;
- char *string;
-} element_t;
-
-#define ERROR_OP ((element_t *)(-1))