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

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

CVSweb interface <joel.bertrand@systella.fr>