Annotation of rpl/src/completion.h, revision 1.82

1.1       bertrand    1: /*
                      2: ================================================================================
1.81      bertrand    3:   RPL/2 (R) version 4.1.30
1.82    ! bertrand    4:   Copyright (C) 1989-2019 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",
1.66      bertrand   74:                "epsilon", "eqv",
                     75:                "erase", "errm", "errn", "eval", "exget", "exit",
1.1       bertrand   76:                "exp", "expm", "exsub", "externals", "eyept",
                     77: 
                     78: #              ifndef COMPLETION
                     79:                COMPLETION_RC,
                     80: #              endif
                     81: 
                     82:        "fact", "false", "fc?", "fc?c", "fc?s", "fft", "fix", "floor",
1.50      bertrand   83:                "for", "forall",
                     84:                "format", "fp", "fs?", "fs?c", "fs?s", "function",
1.1       bertrand   85:                "fuse",
                     86: 
                     87: #              ifndef COMPLETION
                     88:                COMPLETION_RC,
                     89: #              endif
                     90: 
                     91:        "gamma",
                     92:        "gegv", "gegvl", "get", "getc", "geti", "getr", "glegv", "gregv",
                     93: 
                     94: #              ifndef COMPLETION
                     95:                COMPLETION_RC,
                     96: #              endif
                     97: 
                     98:        "halt", "head", "help", "hex", "histogram", "hms->", "hms-", "hms+",
                     99: 
                    100: #              ifndef COMPLETION
                    101:                COMPLETION_RC,
                    102: #              endif
                    103: 
1.7       bertrand  104:        "i", "idft", "idn", "if", "iferr", "ifft", "ift", "ifte", "im",
                    105:                "implicit", "in",
1.35      bertrand  106:                "incr", "indep", "infinity",
                    107:                "input", "inquire", "int", "inv", "ip", "iswi",
1.1       bertrand  108:                "itrace",
                    109: 
                    110: #              ifndef COMPLETION
                    111:                COMPLETION_RC,
                    112: #              endif
                    113: 
                    114:        "jdate",
                    115: 
                    116: #              ifndef COMPLETION
                    117:                COMPLETION_RC,
                    118: #              endif
                    119: 
                    120:        "key", "keylabel", "keytitle", "kill", "kind",
                    121: 
                    122: #              ifndef COMPLETION
                    123:                COMPLETION_RC,
                    124: #              endif
                    125: 
1.24      bertrand  126:        "l->t", "label", "last", "lcase", "lcd->", "lchol", "legv", "line",
1.1       bertrand  127:                "list->", "ln", "lnp1", "localization", "lock", "log",
                    128:                "logger", "logscale", "lq", "lsq", "lu",
                    129: 
                    130: #              ifndef COMPLETION
                    131:                COMPLETION_RC,
                    132: #              endif
                    133: 
                    134:        "mant", "mark",
1.12      bertrand  135:        "max", "maxs", "mclrin", "mean", "mem", "memlock",
                    136:        "memunlock", "min", "mins", "mod",
1.1       bertrand  137:        "mtxlock", "mtxstatus", "mtxtrylock", "mtxunlock",
                    138: 
                    139: #              ifndef COMPLETION
                    140:                COMPLETION_RC,
                    141: #              endif
                    142: 
1.78      bertrand  143:        "nbrcpus",
1.1       bertrand  144:        "neg", "newplane", "next", "not", "nrand", "nrproc", "ns", "num",
                    145: 
                    146: #              ifndef COMPLETION
                    147:                COMPLETION_RC,
                    148: #              endif
                    149: 
1.11      bertrand  150:        "obget", "obsub", "oct", "open", "or", "over",
1.1       bertrand  151: 
                    152: #              ifndef COMPLETION
                    153:                COMPLETION_RC,
                    154: #              endif
                    155: 
                    156:        "p->r", "paper", "parameter",
                    157:                "parametric", "pcov", "peek", "perm", "persist", "pi",
                    158:                "pick", "plot", "plotter",
1.42      bertrand  159:                "pmax", "pmin", "poke", "polar", "poll",
                    160:                "pos", "ppar", "pr1", "print",
1.1       bertrand  161:                "private",
1.13      bertrand  162:                "prlcd", "prmd", "procid",
                    163:                "prompt", "protect", "prst", "prstc", "prusr",
1.1       bertrand  164:                "prvar", "psdev", "pshcntxt", "pshprfl", "pulcntxt", "pulprfl",
                    165:                "purge", "put", "putc", "putr",
                    166:                "puti", "pvar",
                    167: 
                    168: #              ifndef COMPLETION
                    169:                COMPLETION_RC,
                    170: #              endif
                    171: 
                    172:        "qr",
                    173: 
                    174: #              ifndef COMPLETION
                    175:                COMPLETION_RC,
                    176: #              endif
                    177: 
                    178:        "r->b", "r->c", "r->d", "r->p", "rad", "rand", "rank", "rceq", "rci",
                    179:                "rcij", "rcl",
                    180:                "rclf", "rcls", "rclswi", "rcws", "rdate",
1.80      bertrand  181:                "rdm", "rdgn", "rdz", "re", "read", "recall", "recode",
                    182:                "record", "recv",
1.41      bertrand  183:                "redraw", "regex",
                    184:                "regv", "relax", "remove", "repeat", "repl", "res",
1.40      bertrand  185:                "restart", "return", "revlist", "rewind", "rfuse",
1.60      bertrand  186:                "rgdl", "rgdr",
1.1       bertrand  187:                "rl", "rlb", "rnd", "rnrm",
                    188:                "roll", "rolld", "rot", "row+", "row-", "row->",
                    189:                "rr", "rrb", "rsd", "rstop", "rswp",
                    190: 
                    191: #              ifndef COMPLETION
                    192:                COMPLETION_RC,
                    193: #              endif
                    194: 
                    195:        "s+", "s-", "same", "save", "scatter", "scale", "sched",
                    196:                "schur", "sci", "scls",
1.5       bertrand  197:                "sconj", "sdev", "select", "send", "sf", "shared",
1.1       bertrand  198:                "sign",
                    199:                "sin", "sinh", "sinv", "size", "sl", "slb", "slice",
                    200:                "slicescale", "smphrdecr", "smphrgetv", "smphrincr",
                    201:                "smphrtrydecr", "sneg", "sort", "spar", "spawn",
                    202:                "splash", "sq", "sqlconnect", "sqldisconnect", "sqlquery",
1.37      bertrand  203:                "sqrt", "sr", "srb", "srev",
                    204:                "sst", "start", "static", "std", "step",
1.1       bertrand  205:                "steq", "sto", "sto+", "sto-", "sto*", "sto/",
                    206:                "stof", "stop", "store", "stos", "stoswi",
                    207:                "str->", "stws", "sub",
                    208:                "suspend", "svd", "svl", "swap", "swapcntxt",
                    209:                "swi", "swilock", "swiqueue", "swistatus", "swiunlock",
                    210:                "sx", "sx2", "sxy", "sy", "sy2", "sync", "syseval",
                    211: 
                    212: #              ifndef COMPLETION
                    213:                COMPLETION_RC,
                    214: #              endif
                    215: 
1.24      bertrand  216:        "t->l", "table->", "tail", "tan", "tanh", "target", "taylr",
1.1       bertrand  217:                "then", "time", "title", "tokenize",
                    218:                "tot", "trim", "trn", "trnc",
                    219:                "true", "type",
                    220: 
                    221: #              ifndef COMPLETION
                    222:                COMPLETION_RC,
                    223: #              endif
                    224: 
1.57      bertrand  225:        "ucase", "uchol", "uncompress", "undo", "unlock", "unprotect",
1.1       bertrand  226:        "until", "use", "utpc", "utpf", "utpn",
                    227:        "utpt",
                    228: 
                    229: #              ifndef COMPLETION
                    230:                COMPLETION_RC,
                    231: #              endif
                    232: 
                    233:        "var", "variable", "vars", "verify", "version", "visit", "volatile",
                    234: 
                    235: #              ifndef COMPLETION
                    236:                COMPLETION_RC,
                    237: #              endif
                    238: 
                    239:        "wait", "warranty", "wfack", "wfdata", "wflock", "wfpoke",
                    240:        "wfproc", "wfsock", "wfswi",
                    241:        "while",
                    242:        "wireframe", "workdir", "write",
                    243: 
                    244: #              ifndef COMPLETION
                    245:                COMPLETION_RC,
                    246: #              endif
                    247: 
                    248:        "xcol", "xor", "xpon", "xroot",
                    249: 
                    250: #              ifndef COMPLETION
                    251:                COMPLETION_RC,
                    252: #              endif
                    253: 
                    254:        "ycol", "yield",
                    255: 
                    256: #              ifndef COMPLETION
                    257:                COMPLETION_RC,
                    258: #              endif
                    259: 
                    260:        "+", "-", "*", "**", "*d", "*h", "*s", "*w" , "/", "^",
                    261:        "%", "%ch", "%t",
                    262:        
                    263: #              ifndef COMPLETION
                    264:                COMPLETION_RC,
                    265: #              endif
                    266: 
                    267:        "->", "->array", "->col", "->diag", "->hms", "->lcd", "->list", "->q",
                    268:        "->row", "->str", "->table",
                    269: 
                    270: #              ifndef COMPLETION
                    271:                COMPLETION_RC,
                    272: #              endif
                    273: 
                    274:        ">=", "=>", ">", "<=", "=<", "<", "<>", "=", "==",
                    275: 
                    276: #              ifndef COMPLETION
                    277:                COMPLETION_RC,
                    278: #              endif
                    279: 
                    280:        "<<", ">>",
                    281: 
                    282:        NULL };
                    283: #endif
                    284: 
                    285: // vim: ts=4

CVSweb interface <joel.bertrand@systella.fr>