File:  [local] / rpl / src / completion.h
Revision 1.49: download - view: text, annotated - select for diffs - revision graph
Sat Sep 15 12:57:09 2012 UTC (11 years, 7 months ago) by bertrand
Branches: MAIN
CVS tags: HEAD
Ajout de l'instruction CRITICAL qui fonctionne comme un bloc
CRITICAL <expression> END.

    1: /*
    2: ================================================================================
    3:   RPL/2 (R) version 4.1.10
    4:   Copyright (C) 1989-2012 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", "critical",
   54:                 "cross", "crtab", "cstop",
   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: 
  102:         "i", "idft", "idn", "if", "iferr", "ifft", "ift", "ifte", "im",
  103:                 "implicit", "in",
  104:                 "incr", "indep", "infinity",
  105:                 "input", "inquire", "int", "inv", "ip", "iswi",
  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: 
  124:         "l->t", "label", "last", "lcase", "lcd->", "lchol", "legv", "line",
  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",
  133:         "max", "maxs", "mclrin", "mean", "mem", "memlock",
  134:         "memunlock", "min", "mins", "mod",
  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: 
  147:         "obget", "obsub", "oct", "open", "or", "over",
  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",
  156:                 "pmax", "pmin", "poke", "polar", "poll",
  157:                 "pos", "ppar", "pr1", "print",
  158:                 "private",
  159:                 "prlcd", "prmd", "procid",
  160:                 "prompt", "protect", "prst", "prstc", "prusr",
  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",
  179:                 "redraw", "regex",
  180:                 "regv", "relax", "remove", "repeat", "repl", "res",
  181:                 "restart", "return", "revlist", "rewind", "rfuse",
  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",
  192:                 "sconj", "sdev", "select", "send", "sf", "shared",
  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",
  198:                 "sqrt", "sr", "srb", "srev",
  199:                 "sst", "start", "static", "std", "step",
  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: 
  211:         "t->l", "table->", "tail", "tan", "tanh", "target", "taylr",
  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>