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

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

CVSweb interface <joel.bertrand@systella.fr>