File:  [local] / rpl / src / usages.h
Revision 1.30: download - view: text, annotated - select for diffs - revision graph
Tue Jun 21 15:26:36 2011 UTC (12 years, 10 months ago) by bertrand
Branches: MAIN
CVS tags: HEAD
Correction d'une réinitialisation sauvage de la pile des variables par niveau
dans la copie de la structure de description du processus. Cela corrige
la fonction SPAWN qui échouait sur un segmentation fault car la pile des
variables par niveau était vide alors même que l'arbre des variables contenait
bien les variables. Passage à la prerelease 2.

    1: /*
    2: ================================================================================
    3:   RPL/2 (R) version 4.1.0.prerelease.2
    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 INCLUSION_USAGE
   24: #define INCLUSION_USAGE
   25: #define USAGES_RC       "/rc"
   26: #define USAGES_TITRE    "/titre"
   27: 
   28: static unsigned char *usages[] =
   29:         {
   30:             USAGES_TITRE, "Control structures :", "Structures de contrôle :",
   31:                 "IF/THEN/(ELSEIF/THEN)/(ELSE)/END", "IFT", "IFTE",
   32:                 "SELECT/CASE/THEN/END/(DEFAULT)/END",
   33:             USAGES_RC,
   34:             USAGES_TITRE, "Error handling :", "Reprise sur erreur :",
   35:                 "CLRERR", "ERRM", "ERRN", "IFERR/THEN/(ELSE)/END",
   36:             USAGES_RC,
   37:             USAGES_TITRE, "Loops providing a count",
   38:                 "Boucles définies avec compteur",
   39:                 "FOR/(CYCLE)/(EXIT)/NEXT", "FOR/(CYCLE)/(EXIT)/STEP",
   40:             USAGES_RC,
   41:             USAGES_TITRE, "Loops without count",
   42:                 "Boucles définies sans compteur",
   43:                 "START/(CYCLE)/(EXIT)/NEXT", "START/(CYCLE)/(EXIT)/STEP",
   44:             USAGES_RC,
   45:             USAGES_TITRE, "Undefined loops", "Boucles indéfinies",
   46:                 "DO/(EXIT)/UNTIL/(EXIT)/END",
   47:                 "WHILE/(EXIT)/REPEAT/(EXIT)/END",
   48:             USAGES_RC,
   49:             USAGES_TITRE, "Inputs/outputs", "Entrées/sorties",
   50:                 "BEEP", "CLMF", "DISP", "INPUT", "KEY", "PROMPT",
   51:             USAGES_RC,
   52:             USAGES_TITRE, "Debugging", "Déverminage",
   53:                 "CONT", "HALT", "SST",
   54:             USAGES_RC,
   55:             USAGES_TITRE, "Stack handling", "Opérations sur la pile",
   56:                 "CLEAR", "COPY", "DEPTH", "DROP", "DROP2", "DROPN", "DUP",
   57:                 "DUP2", "DUPN", "EDIT", "OVER", "PICK", "ROLL", "ROLLD",
   58:                 "ROT", "SWAP",
   59:             USAGES_RC,
   60:             USAGES_TITRE, "Working with variables",
   61:                 "Manipulation des variables",
   62:                 "->", "CLUSR", "PARAMETER", "PRIVATE", "PROTECT",
   63:                 "PURGE", "RCEQ", "RCL", "RECALL", "SAVE", "SCONJ", "SHARED",
   64:                 "SINV",
   65:                 "SNEG", "STATIC", "STEQ", "STO", "STO+", "STO-", "STO*", "STO/",
   66:                 "STORE", "UNPROTECT", "VARIABLE", "VARS", "VISIT", "VOLATILE",
   67:             USAGES_RC,
   68:             USAGES_TITRE, "Arithmetical operations and elementary calculus",
   69:                 "Arithmérique et calculs élémentaires",
   70:                 "+", "-", "*", "/", "^ (**)", "=", "%", "%CH", "%T",
   71:                 "ABS", "ARG",
   72:                 "C->R", "CEIL", "CONJ", "DECR", "DER", "DFT", "EVAL",
   73:                 "FACT", "FFT", "FLOOR", "FP", "IDFT", "IFFT",
   74:                 "IM", "INCR", "INT", "INV", "IP", "MANT", "MAX", "MCLRIN",
   75:                 "MIN", "MOD", "NEG", "->NUM", "P->R", "->Q", "R->C", "R->P",
   76:                 "RE",
   77:                 "RELAX", "SIGN", "SQ", "SQRT", "TAYLR", "XPON", "XROOT",
   78:             USAGES_RC,
   79:             USAGES_TITRE, "Constants", "Constantes",
   80:                 "e", "FALSE", "i", "PI", "TRUE",
   81:             USAGES_RC,
   82:             USAGES_TITRE, "Formatting", "Formats",
   83:                 "ENG", "FIX", "RND", "SCI", "STD", "TRNC",
   84:             USAGES_RC,
   85:             USAGES_TITRE, "Logical and binary operations",
   86:                 "Fonctions logiques et arithmétique binaire",
   87:                 "<", "<= (=<)", "<>", ">", ">= (=>)", "==",
   88:                 "AND", "ASL", "ASR", "B->R", "BIN", "CF", "DEC", "FC?",
   89:                 "FC?C", "FC?S", "FS?", "FS?C", "FS?S", "HEX", "IN", "NOT",
   90:                 "OCT", "OR", "R->B", "RCLF", "RCWS", "RL", "RLB", "RR", "RRB",
   91:                 "SAME", "SF", "SL", "SLB", "SR", "SRB", "STOF", "STWS", "XOR",
   92:             USAGES_RC,
   93:             USAGES_TITRE, "Trigonometry", "Fonctions trigonométriques",
   94:                 "ACOS", "ASIN", "ATAN",
   95:                 "COS", "D->R", "DEG", "->HMS", "HMS->", "HMS-", "HMS+",
   96:                 "R->D", "RAD", "SIN", "TAN",
   97:             USAGES_RC,
   98:             USAGES_TITRE, "Logarithms", "Fonctions logarithmiques",
   99:                 "ACOSH", "ALOG", "ASINH", "ATANH",
  100:                 "COSH", "EXP", "EXPM", "LN", "LNP1", "LOG", "SINH", "TANH",
  101:             USAGES_RC,
  102:             USAGES_TITRE, "Special functions", "Fonctions spéciales",
  103:                 "BESSEL", "GAMMA",
  104:             USAGES_RC,
  105:             USAGES_TITRE, "Statistics", "Statistiques",
  106:                 "CLS", "COLS", "COMB", "CORR", "COV", "DRWS", "MAXS", "MEAN",
  107:                 "MINS", "NRAND", "NS", "PCOV", "PERM", "PSDEV", "PVAR", "RAND",
  108:                 "RCLS", "RDGN", "RDZ", "S-", "S+",
  109:                 "SCLS", "SDEV", "SPAR", "STOS",
  110:                 "SX", "SX2", "SXY", "SY", "SY2", "TOT", "UTPC", "UTPF",
  111:                 "UTPN", "UTPT", "VAR", "XCOL", "YCOL",
  112:             USAGES_RC,
  113:             USAGES_TITRE, "Dealing with matrix and vector",
  114:                 "Manipulation des vecteurs et des matrices",
  115:                 "->ARRAY (->ARRY)", "ARRAY-> (ARRY->)", "CNRM", "COL+", "COL-",
  116:                 "COL->", "->COL",
  117:                 "CON", "COND", "CROSS", "CSWP", "DET", "DIAG->", "->DIAG",
  118:                 "DOT", "EGV", "EGVL", "GEGV",
  119:                 "GEGVL", "GET", "GETC", "GETI", "GETR", "GLEGV", "GREGV",
  120:                 "IDN", "LCHOL", "LEGV", "LQ", "LSQ", "LU", "MAX", "MIN", "PUT",
  121:                 "PUTC", "PUTI", "PUTR", "QR", "RANK",
  122:                 "RCI", "RCIJ", "RDM", "REGV",
  123:                 "RNRM", "ROW+", "ROW-", "ROW->", "->ROW",
  124:                 "RSD", "RSWP", "SCHUR", "SIZE", "SQ", "SVD", "SVL", "TRN",
  125:                 "UCHOL",
  126:             USAGES_RC,
  127:             USAGES_TITRE, "Dealing with tables",
  128:                 "Manipulation des tables",
  129:                 "CRTAB", "GET", "L->T", "PUT", "T->L", "->TABLE", "TABLE->",
  130:             USAGES_RC,
  131:             USAGES_TITRE, "Lists", "Manipulation des listes",
  132:                 "GET", "GETI", "HEAD", "L->T",
  133:                 "->LIST", "LIST->", "POS", "PUT", "PUTI",
  134:                 "REPL", "REVLIST", "SIZE", "SORT", "SUB", "T->L", "TAIL",
  135:             USAGES_RC,
  136:             USAGES_TITRE, "Strings", "Chaînes de caractères",
  137:                 "CHR", "CURRENC", "LCASE",
  138:                 "->STR", "STR->", "NUM", "POS", "RECODE", "REPL",
  139:                 "SIZE", "SUB", "TOKENIZE", "TRIM", "UCASE",
  140:             USAGES_RC,
  141:             USAGES_TITRE, "Expressions", "Manipulation des expressions",
  142:                 "OBGET", "OBSUB", "EXGET", "EXSUB",
  143:             USAGES_RC,
  144:             USAGES_TITRE, "File handling", "Gestion des fichiers",
  145:                 "APPEND", "BACKSPACE", "CLOSE",
  146:                 "CREATE", "DELETE", "FORMAT",
  147:                 "INQUIRE", "LOCK", "OPEN", "READ", "REWIND",
  148:                 "SYNC", "TARGET", "UNLOCK", "WFLOCK", "WFSOCK", "WRITE",
  149:             USAGES_RC,
  150:             USAGES_TITRE, "Graphical output and printing",
  151:                 "Sorties graphiques et papier",
  152:                 "*D", "*H", "*S", "*W", "AUTOSCALE", "AXES", "CENTR", "CLLCD",
  153:                 "CR", "DEPND", "DGTIZ",
  154:                 "DRAW", "DRAX", "ERASE", "EYEPT", "FUNCTION",
  155:                 "HISTOGRAM", "INDEP", "KEYLABEL", "KEYTITLE",
  156:                 "LABEL", "LCD->", "->LCD",
  157:                 "LINE", "LOGSCALE", "MARK", "NEWPLANE", 
  158:                 "PAPER", "PARAMETRIC", "PERSIST", "PLOT",
  159:                 "PLOTTER", "PMAX", "PMIN",
  160:                 "POLAR", "PPAR", "PR1", "PRINT", "PRLCD", "PRMD", "PRST",
  161:                 "PRSTC", "PRUSR", "PRVAR", "REDRAW", "RES", "SCATTER",
  162:                 "SCALE", "SLICE", "SLICESCALE", "TITLE", "WIREFRAME",
  163:             USAGES_RC,
  164:             USAGES_TITRE, "Libraries", "Bibliothèques",
  165:                 "EXTERNALS", "REMOVE", "USE",
  166:             USAGES_RC,
  167:             USAGES_TITRE, "Multitasking", "Gestion des processus",
  168:                 "ATEXIT", "ATPOKE", "CLRATEXIT", "CLRATPOKE",
  169:                 "CLRFUSE", "CLRMTX", "CLRSMPHR", "CLRSWI", "CONTINUE", "CRMTX",
  170:                 "CRSMPHR", "CSTOP", "DAEMONIZE",
  171:                 "DETACH", "FUSE", "ISWI", "MTXLOCK", "MTXSTATUS",
  172:                 "MTXTRYLOCK", "MTXUNLOCK",
  173:                 "NRPROC", "PEEK", "POKE", "PROCID",
  174:                 "RCLSWI", "RECV", "RFUSE",
  175:                 "RSTOP", "SCHED", "SEND", 
  176:                 "SMPHRDECR", "SMPHRGETV", "SMPHRINCR", "SMPHRTRYDECR",
  177:                 "SPAWN", "STOP", "STOSWI",
  178:                 "SUSPEND", "SWI",
  179:                 "SWILOCK", "SWIQUEUE", "SWISTATUS", "SWIUNLOCK", "WFACK",
  180:                 "WFDATA", "WFPOKE", "WFPROC",
  181:                 "WFSWI", "YIELD",
  182:             USAGES_RC,
  183:             USAGES_TITRE, "Contexts", "Changement de contextes",
  184:                 "CLRCNTXT", "DROPCNTXT", "DUPCNTXT", "PSHCNTXT", "PULCNTXT",
  185:                 "SWAPCNTXT",
  186:             USAGES_RC,
  187:             USAGES_TITRE, "Misc", "Instructions diverses",
  188:                 "<<", ">>", "ABORT", "ALARM", "BACKTRACE",
  189:                 "CONVERT", "COPYRIGHT", "DATE",
  190:                 "HELP", "IMPLICIT", "ITRACE",
  191:                 "JDATE", "KILL",
  192:                 "KIND", "LAST", "LOCALIZATION",
  193:                 "LOGGER", "MEM", "MEMLOCK", "MEMUNLOCK", "PSHPRFL", "PULPRFL",
  194:                 "RDATE",
  195:                 "RETURN", "SPLASH", "SYSEVAL", "TIME",
  196:                 "TYPE", "VERIFY", "VERSION", "WAIT", "WARRANTY",
  197:                 "WORKDIR",
  198:             USAGES_RC,
  199:             USAGES_TITRE, "Databases", "Bases de données",
  200:                 "SQLCONNECT", "SQLDISCONNECT", "SQLQUERY",
  201:             USAGES_RC,
  202:             USAGES_TITRE, "Preprocessing", "Instructions du préprocesseur",
  203:                 "#date", 
  204:                 "#define", "#defeval", "#elif", "#else", "#endif", "#error",
  205:                 "#eval", "#file",
  206:                 "#if", "#ifdef", "#ifeq", "#ifndef", "#ifneq",
  207:                 "#include", "#line", "#mode", "#undef", "#warning",
  208:         NULL };
  209: #endif
  210: 
  211: // vim: ts=4

CVSweb interface <joel.bertrand@systella.fr>