Pristine Ack-5.5
[Ack-5.5.git] / util / grind / ops.c
1 #include "operator.h"
2 #include "ops.h"
3
4 t_operator operators[] = {
5 { 2, do_list}, /* OP_LIST */
6 { 1, do_file}, /* OP_FILE */
7 { 2, 0}, /* OP_LINK */
8 { 1, start_child}, /* OP_RUN */
9 { 1, 0}, /* OP_INPUT */
10 { 1, 0}, /* OP_OUTPUT */
11 { 0, 0}, /* OP_INTEGER */
12 { 0, 0}, /* OP_REAL */
13 { 0, 0}, /* OP_STRING */
14 { 0, 0}, /* OP_NAME */
15 { 0, 0}, /* OP_AT */
16 { 2, 0}, /* OP_IN */
17 { 1, do_help}, /* OP_HELP */
18 { 2, do_stop}, /* OP_STOP */
19 { 3, do_stop}, /* OP_WHEN */
20 { 2, do_continue}, /* OP_CONT */
21 { 1, do_step}, /* OP_STEP */
22 { 1, do_next}, /* OP_NEXT */
23 { 1, do_regs}, /* OP_REGS */
24 { 1, do_where}, /* OP_WHERE */
25 { 0, print_items}, /* OP_STATUS */
26 { 1, do_delete}, /* OP_DELETE */
27 { 2, 0}, /* OP_SELECT */
28 { 2, do_set}, /* OP_SET */
29 { 1, do_print}, /* OP_PRINT */
30 { 0, do_dump}, /* OP_DUMP */
31 { 1, do_restore}, /* OP_RESTORE */
32 { 3, do_trace}, /* OP_TRACE */
33 { 1, do_find}, /* OP_FIND */
34 { 1, add_to_item_list}, /* OP_DISPLAY */
35 { 1, do_which}, /* OP_WHICH */
36 { 1, 0}, /* OP_UNOP */
37 { 2, 0}, /* OP_BINOP */
38 { 2, 0}, /* OP_FORMAT */
39 { 1, do_disable}, /* OP_DISABLE */
40 { 1, do_enable}, /* OP_ENABLE */
41 { 0, do_noop}, /* OP_SHELL */
42 { 1, do_source}, /* OP_SOURCE */
43 { 1, do_prcomm}, /* OP_PRCOMM */
44 { 1, do_up}, /* OP_UP */
45 { 1, do_down}, /* OP_DOWN */
46 { 1, do_frame}, /* OP_FRAME */
47 { 1, do_log}, /* OP_LOG */
48 { 0, 0 }
49 };