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

1.1       bertrand    1: /*
                      2: ================================================================================
1.74    ! bertrand    3:   RPL/2 (R) version 4.1.26
1.73      bertrand    4:   Copyright (C) 1989-2016 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: 
                    143:        "neg", "newplane", "next", "not", "nrand", "nrproc", "ns", "num",
                    144: 
                    145: #              ifndef COMPLETION
                    146:                COMPLETION_RC,
                    147: #              endif
                    148: 
1.11      bertrand  149:        "obget", "obsub", "oct", "open", "or", "over",
1.1       bertrand  150: 
                    151: #              ifndef COMPLETION
                    152:                COMPLETION_RC,
                    153: #              endif
                    154: 
                    155:        "p->r", "paper", "parameter",
                    156:                "parametric", "pcov", "peek", "perm", "persist", "pi",
                    157:                "pick", "plot", "plotter",
1.42      bertrand  158:                "pmax", "pmin", "poke", "polar", "poll",
                    159:                "pos", "ppar", "pr1", "print",
1.1       bertrand  160:                "private",
1.13      bertrand  161:                "prlcd", "prmd", "procid",
                    162:                "prompt", "protect", "prst", "prstc", "prusr",
1.1       bertrand  163:                "prvar", "psdev", "pshcntxt", "pshprfl", "pulcntxt", "pulprfl",
                    164:                "purge", "put", "putc", "putr",
                    165:                "puti", "pvar",
                    166: 
                    167: #              ifndef COMPLETION
                    168:                COMPLETION_RC,
                    169: #              endif
                    170: 
                    171:        "qr",
                    172: 
                    173: #              ifndef COMPLETION
                    174:                COMPLETION_RC,
                    175: #              endif
                    176: 
                    177:        "r->b", "r->c", "r->d", "r->p", "rad", "rand", "rank", "rceq", "rci",
                    178:                "rcij", "rcl",
                    179:                "rclf", "rcls", "rclswi", "rcws", "rdate",
                    180:                "rdm", "rdgn", "rdz", "re", "read", "recall", "recode", "recv",
1.41      bertrand  181:                "redraw", "regex",
                    182:                "regv", "relax", "remove", "repeat", "repl", "res",
1.40      bertrand  183:                "restart", "return", "revlist", "rewind", "rfuse",
1.60      bertrand  184:                "rgdl", "rgdr",
1.1       bertrand  185:                "rl", "rlb", "rnd", "rnrm",
                    186:                "roll", "rolld", "rot", "row+", "row-", "row->",
                    187:                "rr", "rrb", "rsd", "rstop", "rswp",
                    188: 
                    189: #              ifndef COMPLETION
                    190:                COMPLETION_RC,
                    191: #              endif
                    192: 
                    193:        "s+", "s-", "same", "save", "scatter", "scale", "sched",
                    194:                "schur", "sci", "scls",
1.5       bertrand  195:                "sconj", "sdev", "select", "send", "sf", "shared",
1.1       bertrand  196:                "sign",
                    197:                "sin", "sinh", "sinv", "size", "sl", "slb", "slice",
                    198:                "slicescale", "smphrdecr", "smphrgetv", "smphrincr",
                    199:                "smphrtrydecr", "sneg", "sort", "spar", "spawn",
                    200:                "splash", "sq", "sqlconnect", "sqldisconnect", "sqlquery",
1.37      bertrand  201:                "sqrt", "sr", "srb", "srev",
                    202:                "sst", "start", "static", "std", "step",
1.1       bertrand  203:                "steq", "sto", "sto+", "sto-", "sto*", "sto/",
                    204:                "stof", "stop", "store", "stos", "stoswi",
                    205:                "str->", "stws", "sub",
                    206:                "suspend", "svd", "svl", "swap", "swapcntxt",
                    207:                "swi", "swilock", "swiqueue", "swistatus", "swiunlock",
                    208:                "sx", "sx2", "sxy", "sy", "sy2", "sync", "syseval",
                    209: 
                    210: #              ifndef COMPLETION
                    211:                COMPLETION_RC,
                    212: #              endif
                    213: 
1.24      bertrand  214:        "t->l", "table->", "tail", "tan", "tanh", "target", "taylr",
1.1       bertrand  215:                "then", "time", "title", "tokenize",
                    216:                "tot", "trim", "trn", "trnc",
                    217:                "true", "type",
                    218: 
                    219: #              ifndef COMPLETION
                    220:                COMPLETION_RC,
                    221: #              endif
                    222: 
1.57      bertrand  223:        "ucase", "uchol", "uncompress", "undo", "unlock", "unprotect",
1.1       bertrand  224:        "until", "use", "utpc", "utpf", "utpn",
                    225:        "utpt",
                    226: 
                    227: #              ifndef COMPLETION
                    228:                COMPLETION_RC,
                    229: #              endif
                    230: 
                    231:        "var", "variable", "vars", "verify", "version", "visit", "volatile",
                    232: 
                    233: #              ifndef COMPLETION
                    234:                COMPLETION_RC,
                    235: #              endif
                    236: 
                    237:        "wait", "warranty", "wfack", "wfdata", "wflock", "wfpoke",
                    238:        "wfproc", "wfsock", "wfswi",
                    239:        "while",
                    240:        "wireframe", "workdir", "write",
                    241: 
                    242: #              ifndef COMPLETION
                    243:                COMPLETION_RC,
                    244: #              endif
                    245: 
                    246:        "xcol", "xor", "xpon", "xroot",
                    247: 
                    248: #              ifndef COMPLETION
                    249:                COMPLETION_RC,
                    250: #              endif
                    251: 
                    252:        "ycol", "yield",
                    253: 
                    254: #              ifndef COMPLETION
                    255:                COMPLETION_RC,
                    256: #              endif
                    257: 
                    258:        "+", "-", "*", "**", "*d", "*h", "*s", "*w" , "/", "^",
                    259:        "%", "%ch", "%t",
                    260:        
                    261: #              ifndef COMPLETION
                    262:                COMPLETION_RC,
                    263: #              endif
                    264: 
                    265:        "->", "->array", "->col", "->diag", "->hms", "->lcd", "->list", "->q",
                    266:        "->row", "->str", "->table",
                    267: 
                    268: #              ifndef COMPLETION
                    269:                COMPLETION_RC,
                    270: #              endif
                    271: 
                    272:        ">=", "=>", ">", "<=", "=<", "<", "<>", "=", "==",
                    273: 
                    274: #              ifndef COMPLETION
                    275:                COMPLETION_RC,
                    276: #              endif
                    277: 
                    278:        "<<", ">>",
                    279: 
                    280:        NULL };
                    281: #endif
                    282: 
                    283: // vim: ts=4

CVSweb interface <joel.bertrand@systella.fr>