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

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

CVSweb interface <joel.bertrand@systella.fr>