File:  [local] / rpl / src / completion.h
Revision 1.37: download - view: text, annotated - select for diffs - revision graph
Mon Aug 29 07:43:02 2011 UTC (12 years, 8 months ago) by bertrand
Branches: MAIN
CVS tags: rpl-4_1_3, HEAD
Ajout de la fonction SREV.

    1: /*
    2: ================================================================================
    3:   RPL/2 (R) version 4.1.3
    4:   Copyright (C) 1989-2011 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", "atexit", "atpoke", "autoscale", "axes",
   33: 
   34: #               ifndef COMPLETION
   35:                 COMPLETION_RC,
   36: #               endif
   37: 
   38:         "b->r", "backspace", "backtrace", "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", "clratexit", "clratpoke",
   47:                 "clrcntxt", "clrerr", "clrfuse",
   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: 
  101:         "i", "idft", "idn", "if", "iferr", "ifft", "ift", "ifte", "im",
  102:                 "implicit", "in",
  103:                 "incr", "indep", "infinity",
  104:                 "input", "inquire", "int", "inv", "ip", "iswi",
  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: 
  123:         "l->t", "label", "last", "lcase", "lcd->", "lchol", "legv", "line",
  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",
  132:         "max", "maxs", "mclrin", "mean", "mem", "memlock",
  133:         "memunlock", "min", "mins", "mod",
  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: 
  146:         "obget", "obsub", "oct", "open", "or", "over",
  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",
  155:                 "pmax", "pmin", "poke", "polar", "pos", "ppar", "pr1", "print",
  156:                 "private",
  157:                 "prlcd", "prmd", "procid",
  158:                 "prompt", "protect", "prst", "prstc", "prusr",
  159:                 "prvar", "psdev", "pshcntxt", "pshprfl", "pulcntxt", "pulprfl",
  160:                 "purge", "put", "putc", "putr",
  161:                 "puti", "pvar",
  162: 
  163: #               ifndef COMPLETION
  164:                 COMPLETION_RC,
  165: #               endif
  166: 
  167:         "qr",
  168: 
  169: #               ifndef COMPLETION
  170:                 COMPLETION_RC,
  171: #               endif
  172: 
  173:         "r->b", "r->c", "r->d", "r->p", "rad", "rand", "rank", "rceq", "rci",
  174:                 "rcij", "rcl",
  175:                 "rclf", "rcls", "rclswi", "rcws", "rdate",
  176:                 "rdm", "rdgn", "rdz", "re", "read", "recall", "recode", "recv",
  177:                 "redraw", "regv", "relax", "remove", "repeat", "repl", "res",
  178:                 "return", "revlist", "rewind", "rfuse",
  179:                 "rl", "rlb", "rnd", "rnrm",
  180:                 "roll", "rolld", "rot", "row+", "row-", "row->",
  181:                 "rr", "rrb", "rsd", "rstop", "rswp",
  182: 
  183: #               ifndef COMPLETION
  184:                 COMPLETION_RC,
  185: #               endif
  186: 
  187:         "s+", "s-", "same", "save", "scatter", "scale", "sched",
  188:                 "schur", "sci", "scls",
  189:                 "sconj", "sdev", "select", "send", "sf", "shared",
  190:                 "sign",
  191:                 "sin", "sinh", "sinv", "size", "sl", "slb", "slice",
  192:                 "slicescale", "smphrdecr", "smphrgetv", "smphrincr",
  193:                 "smphrtrydecr", "sneg", "sort", "spar", "spawn",
  194:                 "splash", "sq", "sqlconnect", "sqldisconnect", "sqlquery",
  195:                 "sqrt", "sr", "srb", "srev",
  196:                 "sst", "start", "static", "std", "step",
  197:                 "steq", "sto", "sto+", "sto-", "sto*", "sto/",
  198:                 "stof", "stop", "store", "stos", "stoswi",
  199:                 "str->", "stws", "sub",
  200:                 "suspend", "svd", "svl", "swap", "swapcntxt",
  201:                 "swi", "swilock", "swiqueue", "swistatus", "swiunlock",
  202:                 "sx", "sx2", "sxy", "sy", "sy2", "sync", "syseval",
  203: 
  204: #               ifndef COMPLETION
  205:                 COMPLETION_RC,
  206: #               endif
  207: 
  208:         "t->l", "table->", "tail", "tan", "tanh", "target", "taylr",
  209:                 "then", "time", "title", "tokenize",
  210:                 "tot", "trim", "trn", "trnc",
  211:                 "true", "type",
  212: 
  213: #               ifndef COMPLETION
  214:                 COMPLETION_RC,
  215: #               endif
  216: 
  217:         "ucase", "uchol", "undo", "unlock", "unprotect",
  218:         "until", "use", "utpc", "utpf", "utpn",
  219:         "utpt",
  220: 
  221: #               ifndef COMPLETION
  222:                 COMPLETION_RC,
  223: #               endif
  224: 
  225:         "var", "variable", "vars", "verify", "version", "visit", "volatile",
  226: 
  227: #               ifndef COMPLETION
  228:                 COMPLETION_RC,
  229: #               endif
  230: 
  231:         "wait", "warranty", "wfack", "wfdata", "wflock", "wfpoke",
  232:         "wfproc", "wfsock", "wfswi",
  233:         "while",
  234:         "wireframe", "workdir", "write",
  235: 
  236: #               ifndef COMPLETION
  237:                 COMPLETION_RC,
  238: #               endif
  239: 
  240:         "xcol", "xor", "xpon", "xroot",
  241: 
  242: #               ifndef COMPLETION
  243:                 COMPLETION_RC,
  244: #               endif
  245: 
  246:         "ycol", "yield",
  247: 
  248: #               ifndef COMPLETION
  249:                 COMPLETION_RC,
  250: #               endif
  251: 
  252:         "+", "-", "*", "**", "*d", "*h", "*s", "*w" , "/", "^",
  253:         "%", "%ch", "%t",
  254:         
  255: #               ifndef COMPLETION
  256:                 COMPLETION_RC,
  257: #               endif
  258: 
  259:         "->", "->array", "->col", "->diag", "->hms", "->lcd", "->list", "->q",
  260:         "->row", "->str", "->table",
  261: 
  262: #               ifndef COMPLETION
  263:                 COMPLETION_RC,
  264: #               endif
  265: 
  266:         ">=", "=>", ">", "<=", "=<", "<", "<>", "=", "==",
  267: 
  268: #               ifndef COMPLETION
  269:                 COMPLETION_RC,
  270: #               endif
  271: 
  272:         "<<", ">>",
  273: 
  274:         NULL };
  275: #endif
  276: 
  277: // vim: ts=4

CVSweb interface <joel.bertrand@systella.fr>