Annotation of rpl/src/completion.h, revision 1.61
1.1 bertrand 1: /*
2: ================================================================================
1.61 ! bertrand 3: RPL/2 (R) version 4.1.16
1.55 bertrand 4: Copyright (C) 1989-2013 Dr. BERTRAND Joël
1.1 bertrand 5:
6: This file is part of RPL/2.
7:
8: RPL/2 is free software; you can redistribute it and/or modify it
9: under the terms of the CeCILL V2 License as published by the french
10: CEA, CNRS and INRIA.
11:
12: RPL/2 is distributed in the hope that it will be useful, but WITHOUT
13: ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14: FITNESS FOR A PARTICULAR PURPOSE. See the CeCILL V2 License
15: for more details.
16:
17: You should have received a copy of the CeCILL License
18: along with RPL/2. If not, write to info@cecill.info.
19: ================================================================================
20: */
21:
22:
23: #ifndef INCLUSTION_COMPLETION
24: #define INCLUSTION_COMPLETION
25: #ifndef COMPLETION
26: # define COMPLETION_RC "/rc"
27: #endif
28:
29: static unsigned char *commandes[] =
30: { "abort", "abs", "acos", "acosh", "alarm", "alog", "append", "and",
31: "array->", "arg", "asin", "asinh", "asl", "asr", "atan",
1.18 bertrand 32: "atanh", "atexit", "atpoke", "autoscale", "axes",
1.1 bertrand 33:
34: # ifndef COMPLETION
35: COMPLETION_RC,
36: # endif
37:
1.16 bertrand 38: "b->r", "backspace", "backtrace", "beep", "bessel", "bin",
1.1 bertrand 39:
40: # ifndef COMPLETION
41: COMPLETION_RC,
42: # endif
43:
1.54 bertrand 44: "c->r", "case", "ceil", "centr", "cf", "chr", "cipher",
1.1 bertrand 45: "clear",
1.18 bertrand 46: "cllcd", "clmf", "close", "clratexit", "clratpoke",
1.11 bertrand 47: "clrcntxt", "clrerr", "clrfuse",
1.1 bertrand 48: "clrmtx", "clrsmphr",
49: "clrswi", "crmtx", "crsmphr", "cls", "clusr", "cnrm",
1.57 bertrand 50: "col+", "col-", "col->", "cols", "comb", "compress",
1.1 bertrand 51: "con", "cond", "conj", "cont", "continue", "convert", "copy",
52: "copyright", "corr",
1.49 bertrand 53: "cos", "cosh", "cov", "cr", "create", "critical",
54: "cross", "crtab", "cstop",
1.1 bertrand 55: "cswp", "currenc", "cycle",
56:
57: # ifndef COMPLETION
58: COMPLETION_RC,
59: # endif
60:
61: "d->r", "daemonize",
62: "date", "dec", "decr", "default", "deg", "delete", "depnd",
63: "depth", "der", "det", "detach",
1.54 bertrand 64: "dft", "dgtiz", "diag->", "digest", "disp", "do", "dot", "draw",
1.1 bertrand 65: "drax", "drop", "drop2", "dropcntxt",
66: "dropn", "drws", "dup", "dup2",
67: "dupcntxt", "dupn",
68:
69: # ifndef COMPLETION
70: COMPLETION_RC,
71: # endif
72:
73: "e", "edit", "egv", "egvl", "else", "elseif", "end", "eng",
74: "epsilon", "erase", "errm", "errn", "eval", "exget", "exit",
75: "exp", "expm", "exsub", "externals", "eyept",
76:
77: # ifndef COMPLETION
78: COMPLETION_RC,
79: # endif
80:
81: "fact", "false", "fc?", "fc?c", "fc?s", "fft", "fix", "floor",
1.50 bertrand 82: "for", "forall",
83: "format", "fp", "fs?", "fs?c", "fs?s", "function",
1.1 bertrand 84: "fuse",
85:
86: # ifndef COMPLETION
87: COMPLETION_RC,
88: # endif
89:
90: "gamma",
91: "gegv", "gegvl", "get", "getc", "geti", "getr", "glegv", "gregv",
92:
93: # ifndef COMPLETION
94: COMPLETION_RC,
95: # endif
96:
97: "halt", "head", "help", "hex", "histogram", "hms->", "hms-", "hms+",
98:
99: # ifndef COMPLETION
100: COMPLETION_RC,
101: # endif
102:
1.7 bertrand 103: "i", "idft", "idn", "if", "iferr", "ifft", "ift", "ifte", "im",
104: "implicit", "in",
1.35 bertrand 105: "incr", "indep", "infinity",
106: "input", "inquire", "int", "inv", "ip", "iswi",
1.1 bertrand 107: "itrace",
108:
109: # ifndef COMPLETION
110: COMPLETION_RC,
111: # endif
112:
113: "jdate",
114:
115: # ifndef COMPLETION
116: COMPLETION_RC,
117: # endif
118:
119: "key", "keylabel", "keytitle", "kill", "kind",
120:
121: # ifndef COMPLETION
122: COMPLETION_RC,
123: # endif
124:
1.24 bertrand 125: "l->t", "label", "last", "lcase", "lcd->", "lchol", "legv", "line",
1.1 bertrand 126: "list->", "ln", "lnp1", "localization", "lock", "log",
127: "logger", "logscale", "lq", "lsq", "lu",
128:
129: # ifndef COMPLETION
130: COMPLETION_RC,
131: # endif
132:
133: "mant", "mark",
1.12 bertrand 134: "max", "maxs", "mclrin", "mean", "mem", "memlock",
135: "memunlock", "min", "mins", "mod",
1.1 bertrand 136: "mtxlock", "mtxstatus", "mtxtrylock", "mtxunlock",
137:
138: # ifndef COMPLETION
139: COMPLETION_RC,
140: # endif
141:
142: "neg", "newplane", "next", "not", "nrand", "nrproc", "ns", "num",
143:
144: # ifndef COMPLETION
145: COMPLETION_RC,
146: # endif
147:
1.11 bertrand 148: "obget", "obsub", "oct", "open", "or", "over",
1.1 bertrand 149:
150: # ifndef COMPLETION
151: COMPLETION_RC,
152: # endif
153:
154: "p->r", "paper", "parameter",
155: "parametric", "pcov", "peek", "perm", "persist", "pi",
156: "pick", "plot", "plotter",
1.42 bertrand 157: "pmax", "pmin", "poke", "polar", "poll",
158: "pos", "ppar", "pr1", "print",
1.1 bertrand 159: "private",
1.13 bertrand 160: "prlcd", "prmd", "procid",
161: "prompt", "protect", "prst", "prstc", "prusr",
1.1 bertrand 162: "prvar", "psdev", "pshcntxt", "pshprfl", "pulcntxt", "pulprfl",
163: "purge", "put", "putc", "putr",
164: "puti", "pvar",
165:
166: # ifndef COMPLETION
167: COMPLETION_RC,
168: # endif
169:
170: "qr",
171:
172: # ifndef COMPLETION
173: COMPLETION_RC,
174: # endif
175:
176: "r->b", "r->c", "r->d", "r->p", "rad", "rand", "rank", "rceq", "rci",
177: "rcij", "rcl",
178: "rclf", "rcls", "rclswi", "rcws", "rdate",
179: "rdm", "rdgn", "rdz", "re", "read", "recall", "recode", "recv",
1.41 bertrand 180: "redraw", "regex",
181: "regv", "relax", "remove", "repeat", "repl", "res",
1.40 bertrand 182: "restart", "return", "revlist", "rewind", "rfuse",
1.60 bertrand 183: "rgdl", "rgdr",
1.1 bertrand 184: "rl", "rlb", "rnd", "rnrm",
185: "roll", "rolld", "rot", "row+", "row-", "row->",
186: "rr", "rrb", "rsd", "rstop", "rswp",
187:
188: # ifndef COMPLETION
189: COMPLETION_RC,
190: # endif
191:
192: "s+", "s-", "same", "save", "scatter", "scale", "sched",
193: "schur", "sci", "scls",
1.5 bertrand 194: "sconj", "sdev", "select", "send", "sf", "shared",
1.1 bertrand 195: "sign",
196: "sin", "sinh", "sinv", "size", "sl", "slb", "slice",
197: "slicescale", "smphrdecr", "smphrgetv", "smphrincr",
198: "smphrtrydecr", "sneg", "sort", "spar", "spawn",
199: "splash", "sq", "sqlconnect", "sqldisconnect", "sqlquery",
1.37 bertrand 200: "sqrt", "sr", "srb", "srev",
201: "sst", "start", "static", "std", "step",
1.1 bertrand 202: "steq", "sto", "sto+", "sto-", "sto*", "sto/",
203: "stof", "stop", "store", "stos", "stoswi",
204: "str->", "stws", "sub",
205: "suspend", "svd", "svl", "swap", "swapcntxt",
206: "swi", "swilock", "swiqueue", "swistatus", "swiunlock",
207: "sx", "sx2", "sxy", "sy", "sy2", "sync", "syseval",
208:
209: # ifndef COMPLETION
210: COMPLETION_RC,
211: # endif
212:
1.24 bertrand 213: "t->l", "table->", "tail", "tan", "tanh", "target", "taylr",
1.1 bertrand 214: "then", "time", "title", "tokenize",
215: "tot", "trim", "trn", "trnc",
216: "true", "type",
217:
218: # ifndef COMPLETION
219: COMPLETION_RC,
220: # endif
221:
1.57 bertrand 222: "ucase", "uchol", "uncompress", "undo", "unlock", "unprotect",
1.1 bertrand 223: "until", "use", "utpc", "utpf", "utpn",
224: "utpt",
225:
226: # ifndef COMPLETION
227: COMPLETION_RC,
228: # endif
229:
230: "var", "variable", "vars", "verify", "version", "visit", "volatile",
231:
232: # ifndef COMPLETION
233: COMPLETION_RC,
234: # endif
235:
236: "wait", "warranty", "wfack", "wfdata", "wflock", "wfpoke",
237: "wfproc", "wfsock", "wfswi",
238: "while",
239: "wireframe", "workdir", "write",
240:
241: # ifndef COMPLETION
242: COMPLETION_RC,
243: # endif
244:
245: "xcol", "xor", "xpon", "xroot",
246:
247: # ifndef COMPLETION
248: COMPLETION_RC,
249: # endif
250:
251: "ycol", "yield",
252:
253: # ifndef COMPLETION
254: COMPLETION_RC,
255: # endif
256:
257: "+", "-", "*", "**", "*d", "*h", "*s", "*w" , "/", "^",
258: "%", "%ch", "%t",
259:
260: # ifndef COMPLETION
261: COMPLETION_RC,
262: # endif
263:
264: "->", "->array", "->col", "->diag", "->hms", "->lcd", "->list", "->q",
265: "->row", "->str", "->table",
266:
267: # ifndef COMPLETION
268: COMPLETION_RC,
269: # endif
270:
271: ">=", "=>", ">", "<=", "=<", "<", "<>", "=", "==",
272:
273: # ifndef COMPLETION
274: COMPLETION_RC,
275: # endif
276:
277: "<<", ">>",
278:
279: NULL };
280: #endif
281:
282: // vim: ts=4
CVSweb interface <joel.bertrand@systella.fr>