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

1.1       bertrand    1: /*
                      2: ================================================================================
1.79    ! bertrand    3:   RPL/2 (R) version 4.1.29
        !             4:   Copyright (C) 1989-2018 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",
                    181:                "rdm", "rdgn", "rdz", "re", "read", "recall", "recode", "recv",
1.41      bertrand  182:                "redraw", "regex",
                    183:                "regv", "relax", "remove", "repeat", "repl", "res",
1.40      bertrand  184:                "restart", "return", "revlist", "rewind", "rfuse",
1.60      bertrand  185:                "rgdl", "rgdr",
1.1       bertrand  186:                "rl", "rlb", "rnd", "rnrm",
                    187:                "roll", "rolld", "rot", "row+", "row-", "row->",
                    188:                "rr", "rrb", "rsd", "rstop", "rswp",
                    189: 
                    190: #              ifndef COMPLETION
                    191:                COMPLETION_RC,
                    192: #              endif
                    193: 
                    194:        "s+", "s-", "same", "save", "scatter", "scale", "sched",
                    195:                "schur", "sci", "scls",
1.5       bertrand  196:                "sconj", "sdev", "select", "send", "sf", "shared",
1.1       bertrand  197:                "sign",
                    198:                "sin", "sinh", "sinv", "size", "sl", "slb", "slice",
                    199:                "slicescale", "smphrdecr", "smphrgetv", "smphrincr",
                    200:                "smphrtrydecr", "sneg", "sort", "spar", "spawn",
                    201:                "splash", "sq", "sqlconnect", "sqldisconnect", "sqlquery",
1.37      bertrand  202:                "sqrt", "sr", "srb", "srev",
                    203:                "sst", "start", "static", "std", "step",
1.1       bertrand  204:                "steq", "sto", "sto+", "sto-", "sto*", "sto/",
                    205:                "stof", "stop", "store", "stos", "stoswi",
                    206:                "str->", "stws", "sub",
                    207:                "suspend", "svd", "svl", "swap", "swapcntxt",
                    208:                "swi", "swilock", "swiqueue", "swistatus", "swiunlock",
                    209:                "sx", "sx2", "sxy", "sy", "sy2", "sync", "syseval",
                    210: 
                    211: #              ifndef COMPLETION
                    212:                COMPLETION_RC,
                    213: #              endif
                    214: 
1.24      bertrand  215:        "t->l", "table->", "tail", "tan", "tanh", "target", "taylr",
1.1       bertrand  216:                "then", "time", "title", "tokenize",
                    217:                "tot", "trim", "trn", "trnc",
                    218:                "true", "type",
                    219: 
                    220: #              ifndef COMPLETION
                    221:                COMPLETION_RC,
                    222: #              endif
                    223: 
1.57      bertrand  224:        "ucase", "uchol", "uncompress", "undo", "unlock", "unprotect",
1.1       bertrand  225:        "until", "use", "utpc", "utpf", "utpn",
                    226:        "utpt",
                    227: 
                    228: #              ifndef COMPLETION
                    229:                COMPLETION_RC,
                    230: #              endif
                    231: 
                    232:        "var", "variable", "vars", "verify", "version", "visit", "volatile",
                    233: 
                    234: #              ifndef COMPLETION
                    235:                COMPLETION_RC,
                    236: #              endif
                    237: 
                    238:        "wait", "warranty", "wfack", "wfdata", "wflock", "wfpoke",
                    239:        "wfproc", "wfsock", "wfswi",
                    240:        "while",
                    241:        "wireframe", "workdir", "write",
                    242: 
                    243: #              ifndef COMPLETION
                    244:                COMPLETION_RC,
                    245: #              endif
                    246: 
                    247:        "xcol", "xor", "xpon", "xroot",
                    248: 
                    249: #              ifndef COMPLETION
                    250:                COMPLETION_RC,
                    251: #              endif
                    252: 
                    253:        "ycol", "yield",
                    254: 
                    255: #              ifndef COMPLETION
                    256:                COMPLETION_RC,
                    257: #              endif
                    258: 
                    259:        "+", "-", "*", "**", "*d", "*h", "*s", "*w" , "/", "^",
                    260:        "%", "%ch", "%t",
                    261:        
                    262: #              ifndef COMPLETION
                    263:                COMPLETION_RC,
                    264: #              endif
                    265: 
                    266:        "->", "->array", "->col", "->diag", "->hms", "->lcd", "->list", "->q",
                    267:        "->row", "->str", "->table",
                    268: 
                    269: #              ifndef COMPLETION
                    270:                COMPLETION_RC,
                    271: #              endif
                    272: 
                    273:        ">=", "=>", ">", "<=", "=<", "<", "<>", "=", "==",
                    274: 
                    275: #              ifndef COMPLETION
                    276:                COMPLETION_RC,
                    277: #              endif
                    278: 
                    279:        "<<", ">>",
                    280: 
                    281:        NULL };
                    282: #endif
                    283: 
                    284: // vim: ts=4

CVSweb interface <joel.bertrand@systella.fr>