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

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

CVSweb interface <joel.bertrand@systella.fr>