Back to index

texmacs  1.0.7.15
opdefines.h
Go to the documentation of this file.
00001     _OP_DEF(opexe_0, "load",                           1,  1,       TST_STRING,                      OP_LOAD             )
00002     _OP_DEF(opexe_0, 0,                                0,  0,       0,                               OP_T0LVL            )
00003     _OP_DEF(opexe_0, 0,                                0,  0,       0,                               OP_T1LVL            )
00004     _OP_DEF(opexe_0, 0,                                0,  0,       0,                               OP_READ_INTERNAL    )
00005     _OP_DEF(opexe_0, "gensym",                         0,  0,       0,                               OP_GENSYM           )
00006     _OP_DEF(opexe_0, 0,                                0,  0,       0,                               OP_VALUEPRINT       )
00007     _OP_DEF(opexe_0, 0,                                0,  0,       0,                               OP_EVAL             )
00008 #if USE_TRACING
00009     _OP_DEF(opexe_0, 0,                                0,  0,       0,                               OP_REAL_EVAL        )
00010 #endif
00011     _OP_DEF(opexe_0, 0,                                0,  0,       0,                               OP_E0ARGS           )
00012     _OP_DEF(opexe_0, 0,                                0,  0,       0,                               OP_E1ARGS           )
00013     _OP_DEF(opexe_0, 0,                                0,  0,       0,                               OP_APPLY            )
00014 #if USE_TRACING
00015     _OP_DEF(opexe_0, 0,                                0,  0,       0,                               OP_REAL_APPLY       )
00016     _OP_DEF(opexe_0, "tracing",                        1,  1,       TST_NATURAL,                     OP_TRACING          )
00017 #endif
00018     _OP_DEF(opexe_0, 0,                                0,  0,       0,                               OP_DOMACRO          )
00019     _OP_DEF(opexe_0, 0,                                0,  0,       0,                               OP_LAMBDA           )
00020     _OP_DEF(opexe_0, 0,                                0,  0,       0,                               OP_LAMBDA1          )
00021     _OP_DEF(opexe_0, "make-closure",                   1,  2,       TST_PAIR TST_ENVIRONMENT,        OP_MKCLOSURE        )
00022     _OP_DEF(opexe_0, 0,                                0,  0,       0,                               OP_QUOTE            )
00023     _OP_DEF(opexe_0, 0,                                0,  0,       0,                               OP_DEF0             )
00024     _OP_DEF(opexe_0, 0,                                0,  0,       0,                               OP_DEF1             )
00025     _OP_DEF(opexe_0, "defined?",                       1,  2,       TST_SYMBOL TST_ENVIRONMENT,      OP_DEFP             )
00026     _OP_DEF(opexe_0, 0,                                0,  0,       0,                               OP_BEGIN            )
00027     _OP_DEF(opexe_0, 0,                                0,  0,       0,                               OP_IF0              )
00028     _OP_DEF(opexe_0, 0,                                0,  0,       0,                               OP_IF1              )
00029     _OP_DEF(opexe_0, 0,                                0,  0,       0,                               OP_SET0             )
00030     _OP_DEF(opexe_0, 0,                                0,  0,       0,                               OP_SET1             )
00031     _OP_DEF(opexe_0, 0,                                0,  0,       0,                               OP_LET0             )
00032     _OP_DEF(opexe_0, 0,                                0,  0,       0,                               OP_LET1             )
00033     _OP_DEF(opexe_0, 0,                                0,  0,       0,                               OP_LET2             )
00034     _OP_DEF(opexe_0, 0,                                0,  0,       0,                               OP_LET0AST          )
00035     _OP_DEF(opexe_0, 0,                                0,  0,       0,                               OP_LET1AST          )
00036     _OP_DEF(opexe_0, 0,                                0,  0,       0,                               OP_LET2AST          )
00037     _OP_DEF(opexe_1, 0,                                0,  0,       0,                               OP_LET0REC          )
00038     _OP_DEF(opexe_1, 0,                                0,  0,       0,                               OP_LET1REC          )
00039     _OP_DEF(opexe_1, 0,                                0,  0,       0,                               OP_LET2REC          )
00040     _OP_DEF(opexe_1, 0,                                0,  0,       0,                               OP_COND0            )
00041     _OP_DEF(opexe_1, 0,                                0,  0,       0,                               OP_COND1            )
00042     _OP_DEF(opexe_1, 0,                                0,  0,       0,                               OP_DELAY            )
00043     _OP_DEF(opexe_1, 0,                                0,  0,       0,                               OP_AND0             )
00044     _OP_DEF(opexe_1, 0,                                0,  0,       0,                               OP_AND1             )
00045     _OP_DEF(opexe_1, 0,                                0,  0,       0,                               OP_OR0              )
00046     _OP_DEF(opexe_1, 0,                                0,  0,       0,                               OP_OR1              )
00047     _OP_DEF(opexe_1, 0,                                0,  0,       0,                               OP_C0STREAM         )
00048     _OP_DEF(opexe_1, 0,                                0,  0,       0,                               OP_C1STREAM         )
00049     _OP_DEF(opexe_1, 0,                                0,  0,       0,                               OP_MACRO0           )
00050     _OP_DEF(opexe_1, 0,                                0,  0,       0,                               OP_MACRO1           )
00051     _OP_DEF(opexe_1, 0,                                0,  0,       0,                               OP_CASE0            )
00052     _OP_DEF(opexe_1, 0,                                0,  0,       0,                               OP_CASE1            )
00053     _OP_DEF(opexe_1, 0,                                0,  0,       0,                               OP_CASE2            )
00054     _OP_DEF(opexe_1, "eval",                           1,  2,       TST_ANY TST_ENVIRONMENT,         OP_PEVAL            )
00055     _OP_DEF(opexe_1, "apply",                          1,  INF_ARG, TST_NONE,                        OP_PAPPLY           )
00056     _OP_DEF(opexe_1, "call-with-current-continuation", 1,  1,       TST_NONE,                        OP_CONTINUATION     )
00057 #if USE_MATH
00058     _OP_DEF(opexe_2, "inexact->exact",                 1,  1,       TST_NUMBER,                      OP_INEX2EX          )
00059     _OP_DEF(opexe_2, "exp",                            1,  1,       TST_NUMBER,                      OP_EXP              )
00060     _OP_DEF(opexe_2, "log",                            1,  1,       TST_NUMBER,                      OP_LOG              )
00061     _OP_DEF(opexe_2, "sin",                            1,  1,       TST_NUMBER,                      OP_SIN              )
00062     _OP_DEF(opexe_2, "cos",                            1,  1,       TST_NUMBER,                      OP_COS              )
00063     _OP_DEF(opexe_2, "tan",                            1,  1,       TST_NUMBER,                      OP_TAN              )
00064     _OP_DEF(opexe_2, "asin",                           1,  1,       TST_NUMBER,                      OP_ASIN             )
00065     _OP_DEF(opexe_2, "acos",                           1,  1,       TST_NUMBER,                      OP_ACOS             )
00066     _OP_DEF(opexe_2, "atan",                           1,  2,       TST_NUMBER,                      OP_ATAN             )
00067     _OP_DEF(opexe_2, "sqrt",                           1,  1,       TST_NUMBER,                      OP_SQRT             )
00068     _OP_DEF(opexe_2, "expt",                           2,  2,       TST_NUMBER,                      OP_EXPT             )
00069     _OP_DEF(opexe_2, "floor",                          1,  1,       TST_NUMBER,                      OP_FLOOR            )
00070     _OP_DEF(opexe_2, "ceiling",                        1,  1,       TST_NUMBER,                      OP_CEILING          )
00071     _OP_DEF(opexe_2, "truncate",                       1,  1,       TST_NUMBER,                      OP_TRUNCATE         )
00072     _OP_DEF(opexe_2, "round",                          1,  1,       TST_NUMBER,                      OP_ROUND            )
00073 #endif
00074     _OP_DEF(opexe_2, "+",                              0,  INF_ARG, TST_NUMBER,                      OP_ADD              )
00075     _OP_DEF(opexe_2, "-",                              1,  INF_ARG, TST_NUMBER,                      OP_SUB              )
00076     _OP_DEF(opexe_2, "*",                              0,  INF_ARG, TST_NUMBER,                      OP_MUL              )
00077     _OP_DEF(opexe_2, "/",                              1,  INF_ARG, TST_NUMBER,                      OP_DIV              )
00078     _OP_DEF(opexe_2, "quotient",                       1,  INF_ARG, TST_INTEGER,                     OP_INTDIV           )
00079     _OP_DEF(opexe_2, "remainder",                      2,  2,       TST_INTEGER,                     OP_REM              )
00080     _OP_DEF(opexe_2, "modulo",                         2,  2,       TST_INTEGER,                     OP_MOD              )
00081     _OP_DEF(opexe_2, "car",                            1,  1,       TST_PAIR,                        OP_CAR              )
00082     _OP_DEF(opexe_2, "cdr",                            1,  1,       TST_PAIR,                        OP_CDR              )
00083     _OP_DEF(opexe_2, "cons",                           2,  2,       TST_NONE,                        OP_CONS             )
00084     _OP_DEF(opexe_2, "set-car!",                       2,  2,       TST_PAIR TST_ANY,                OP_SETCAR           )
00085     _OP_DEF(opexe_2, "set-cdr!",                       2,  2,       TST_PAIR TST_ANY,                OP_SETCDR           )
00086     _OP_DEF(opexe_2, "char->integer",                  1,  1,       TST_CHAR,                        OP_CHAR2INT         )
00087     _OP_DEF(opexe_2, "integer->char",                  1,  1,       TST_NATURAL,                     OP_INT2CHAR         )
00088     _OP_DEF(opexe_2, "char-upcase",                    1,  1,       TST_CHAR,                        OP_CHARUPCASE       )
00089     _OP_DEF(opexe_2, "char-downcase",                  1,  1,       TST_CHAR,                        OP_CHARDNCASE       )
00090     _OP_DEF(opexe_2, "symbol->string",                 1,  1,       TST_SYMBOL,                      OP_SYM2STR          )
00091     _OP_DEF(opexe_2, "atom->string",                   1,  1,       TST_ANY,                         OP_ATOM2STR         )
00092     _OP_DEF(opexe_2, "string->symbol",                 1,  1,       TST_STRING,                      OP_STR2SYM          )
00093     _OP_DEF(opexe_2, "string->atom",                   1,  1,       TST_STRING,                      OP_STR2ATOM         )
00094     _OP_DEF(opexe_2, "make-string",                    1,  2,       TST_NATURAL TST_CHAR,            OP_MKSTRING         )
00095     _OP_DEF(opexe_2, "string-length",                  1,  1,       TST_STRING,                      OP_STRLEN           )
00096     _OP_DEF(opexe_2, "string-ref",                     2,  2,       TST_STRING TST_NATURAL,          OP_STRREF           )
00097     _OP_DEF(opexe_2, "string-set!",                    3,  3,       TST_STRING TST_NATURAL TST_CHAR, OP_STRSET           )
00098     _OP_DEF(opexe_2, "string-append",                  0,  INF_ARG, TST_STRING,                      OP_STRAPPEND        )
00099     _OP_DEF(opexe_2, "substring",                      2,  3,       TST_STRING TST_NATURAL,          OP_SUBSTR           )
00100     _OP_DEF(opexe_2, "vector",                         0,  INF_ARG, TST_NONE,                        OP_VECTOR           )
00101     _OP_DEF(opexe_2, "make-vector",                    1,  2,       TST_NATURAL TST_ANY,             OP_MKVECTOR         )
00102     _OP_DEF(opexe_2, "vector-length",                  1,  1,       TST_VECTOR,                      OP_VECLEN           )
00103     _OP_DEF(opexe_2, "vector-ref",                     2,  2,       TST_VECTOR TST_NATURAL,          OP_VECREF           )
00104     _OP_DEF(opexe_2, "vector-set!",                    3,  3,       TST_VECTOR TST_NATURAL TST_ANY,  OP_VECSET           )
00105        _OP_DEF(opexe_3, "not",                            1,  1,       TST_NONE,                        OP_NOT              )
00106     _OP_DEF(opexe_3, "boolean?",                       1,  1,       TST_NONE,                        OP_BOOLP            )
00107     _OP_DEF(opexe_3, "eof-object?",                    1,  1,       TST_NONE,                        OP_EOFOBJP          )
00108     _OP_DEF(opexe_3, "null?",                          1,  1,       TST_NONE,                        OP_NULLP            )
00109     _OP_DEF(opexe_3, "=",                              2,  INF_ARG, TST_NUMBER,                      OP_NUMEQ            )
00110     _OP_DEF(opexe_3, "<",                              2,  INF_ARG, TST_NUMBER,                      OP_LESS             )
00111     _OP_DEF(opexe_3, ">",                              2,  INF_ARG, TST_NUMBER,                      OP_GRE              )
00112     _OP_DEF(opexe_3, "<=",                             2,  INF_ARG, TST_NUMBER,                      OP_LEQ              )
00113     _OP_DEF(opexe_3, ">=",                             2,  INF_ARG, TST_NUMBER,                      OP_GEQ              )
00114     _OP_DEF(opexe_3, "symbol?",                        1,  1,       TST_ANY,                         OP_SYMBOLP          )
00115     _OP_DEF(opexe_3, "number?",                        1,  1,       TST_ANY,                         OP_NUMBERP          )
00116     _OP_DEF(opexe_3, "string?",                        1,  1,       TST_ANY,                         OP_STRINGP          )
00117     _OP_DEF(opexe_3, "integer?",                       1,  1,       TST_ANY,                         OP_INTEGERP         )
00118     _OP_DEF(opexe_3, "real?",                          1,  1,       TST_ANY,                         OP_REALP            )
00119     _OP_DEF(opexe_3, "char?",                          1,  1,       TST_ANY,                         OP_CHARP            )
00120 #if USE_CHAR_CLASSIFIERS
00121     _OP_DEF(opexe_3, "char-alphabetic?",               1,  1,       TST_CHAR,                        OP_CHARAP           )
00122     _OP_DEF(opexe_3, "char-numeric?",                  1,  1,       TST_CHAR,                        OP_CHARNP           )
00123     _OP_DEF(opexe_3, "char-whitespace?",               1,  1,       TST_CHAR,                        OP_CHARWP           )
00124     _OP_DEF(opexe_3, "char-upper-case?",               1,  1,       TST_CHAR,                        OP_CHARUP           )
00125     _OP_DEF(opexe_3, "char-lower-case?",               1,  1,       TST_CHAR,                        OP_CHARLP           )
00126 #endif
00127     _OP_DEF(opexe_3, "port?",                          1,  1,       TST_ANY,                         OP_PORTP            )
00128     _OP_DEF(opexe_3, "input-port?",                    1,  1,       TST_ANY,                         OP_INPORTP          )
00129     _OP_DEF(opexe_3, "output-port?",                   1,  1,       TST_ANY,                         OP_OUTPORTP         )
00130     _OP_DEF(opexe_3, "procedure?",                     1,  1,       TST_ANY,                         OP_PROCP            )
00131     _OP_DEF(opexe_3, "pair?",                          1,  1,       TST_ANY,                         OP_PAIRP            )
00132     _OP_DEF(opexe_3, "list?",                          1,  1,       TST_ANY,                         OP_LISTP            )
00133     _OP_DEF(opexe_3, "environment?",                   1,  1,       TST_ANY,                         OP_ENVP             )
00134     _OP_DEF(opexe_3, "vector?",                        1,  1,       TST_ANY,                         OP_VECTORP          )
00135     _OP_DEF(opexe_3, "eq?",                            2,  2,       TST_ANY,                         OP_EQ               )
00136     _OP_DEF(opexe_3, "eqv?",                           2,  2,       TST_ANY,                         OP_EQV              )
00137     _OP_DEF(opexe_4, "force",                          1,  1,       TST_ANY,                         OP_FORCE            )
00138     _OP_DEF(opexe_4, 0,                                0,  0,       0,                               OP_SAVE_FORCED      )
00139     _OP_DEF(opexe_4, "write",                          1,  2,       TST_ANY TST_OUTPORT,             OP_WRITE            )
00140     _OP_DEF(opexe_4, "write-char",                     1,  2,       TST_CHAR TST_OUTPORT,            OP_WRITE_CHAR       )
00141     _OP_DEF(opexe_4, "display",                        1,  2,       TST_ANY TST_OUTPORT,             OP_DISPLAY          )
00142     _OP_DEF(opexe_4, "newline",                        0,  1,       TST_OUTPORT,                     OP_NEWLINE          )
00143     _OP_DEF(opexe_4, "error",                          1,  INF_ARG, TST_NONE,                        OP_ERR0             )
00144     _OP_DEF(opexe_4, 0,                                0,  0,       0,                               OP_ERR1             )
00145     _OP_DEF(opexe_4, "reverse",                        1,  1,       TST_LIST,                        OP_REVERSE          )
00146     _OP_DEF(opexe_4, "list*",                          1,  INF_ARG, TST_NONE,                        OP_LIST_STAR        )
00147     _OP_DEF(opexe_4, "append",                         0,  INF_ARG, TST_NONE,                        OP_APPEND           )
00148     _OP_DEF(opexe_4, "put",                            3,  3,       TST_NONE,                        OP_PUT              )
00149     _OP_DEF(opexe_4, "get",                            2,  2,       TST_NONE,                        OP_GET              )
00150     _OP_DEF(opexe_4, "quit",                           0,  1,       TST_NUMBER,                      OP_QUIT             )
00151     _OP_DEF(opexe_4, "gc",                             0,  0,       0,                               OP_GC               )
00152     _OP_DEF(opexe_4, "gc-verbose",                     0,  1,       TST_NONE,                        OP_GCVERB           )
00153     _OP_DEF(opexe_4, "new-segment",                    0,  1,       TST_NUMBER,                      OP_NEWSEGMENT       )
00154     _OP_DEF(opexe_4, "oblist",                         0,  0,       0,                               OP_OBLIST           )
00155     _OP_DEF(opexe_4, "current-input-port",             0,  0,       0,                               OP_CURR_INPORT      )
00156     _OP_DEF(opexe_4, "current-output-port",            0,  0,       0,                               OP_CURR_OUTPORT     )
00157     _OP_DEF(opexe_4, "open-input-file",                1,  1,       TST_STRING,                      OP_OPEN_INFILE      )
00158     _OP_DEF(opexe_4, "open-output-file",               1,  1,       TST_STRING,                      OP_OPEN_OUTFILE     )
00159     _OP_DEF(opexe_4, "open-input-output-file",         1,  1,       TST_STRING,                      OP_OPEN_INOUTFILE   )
00160 #if USE_STRING_PORTS
00161     _OP_DEF(opexe_4, "open-input-string",              1,  1,       TST_STRING,                      OP_OPEN_INSTRING    )
00162     _OP_DEF(opexe_4, "open-input-output-string",       1,  1,       TST_STRING,                      OP_OPEN_INOUTSTRING )
00163     _OP_DEF(opexe_4, "open-output-string",             0,  1,       TST_STRING,                      OP_OPEN_OUTSTRING   )
00164     _OP_DEF(opexe_4, "get-output-string",              1,  1,       TST_OUTPORT,                     OP_GET_OUTSTRING    )
00165 #endif
00166     _OP_DEF(opexe_4, "close-input-port",               1,  1,       TST_INPORT,                      OP_CLOSE_INPORT     )
00167     _OP_DEF(opexe_4, "close-output-port",              1,  1,       TST_OUTPORT,                     OP_CLOSE_OUTPORT    )
00168     _OP_DEF(opexe_4, "interaction-environment",        0,  0,       0,                               OP_INT_ENV          )
00169     _OP_DEF(opexe_4, "current-environment",            0,  0,       0,                               OP_CURR_ENV         )
00170     _OP_DEF(opexe_5, "read",                           0,  1,       TST_INPORT,                      OP_READ             )
00171     _OP_DEF(opexe_5, "read-char",                      0,  1,       TST_INPORT,                      OP_READ_CHAR        )
00172     _OP_DEF(opexe_5, "peek-char",                      0,  1,       TST_INPORT,                      OP_PEEK_CHAR        )
00173     _OP_DEF(opexe_5, "char-ready?",                    0,  1,       TST_INPORT,                      OP_CHAR_READY       )
00174     _OP_DEF(opexe_5, "set-input-port",                 1,  1,       TST_INPORT,                      OP_SET_INPORT       )
00175     _OP_DEF(opexe_5, "set-output-port",                1,  1,       TST_OUTPORT,                     OP_SET_OUTPORT      )
00176     _OP_DEF(opexe_5, 0,                                0,  0,       0,                               OP_RDSEXPR          )
00177     _OP_DEF(opexe_5, 0,                                0,  0,       0,                               OP_RDLIST           )
00178     _OP_DEF(opexe_5, 0,                                0,  0,       0,                               OP_RDDOT            )
00179     _OP_DEF(opexe_5, 0,                                0,  0,       0,                               OP_RDQUOTE          )
00180     _OP_DEF(opexe_5, 0,                                0,  0,       0,                               OP_RDQQUOTE         )
00181     _OP_DEF(opexe_5, 0,                                0,  0,       0,                               OP_RDQQUOTEVEC      )
00182     _OP_DEF(opexe_5, 0,                                0,  0,       0,                               OP_RDUNQUOTE        )
00183     _OP_DEF(opexe_5, 0,                                0,  0,       0,                               OP_RDUQTSP          )
00184     _OP_DEF(opexe_5, 0,                                0,  0,       0,                               OP_RDVEC            )
00185     _OP_DEF(opexe_5, 0,                                0,  0,       0,                               OP_P0LIST           )
00186     _OP_DEF(opexe_5, 0,                                0,  0,       0,                               OP_P1LIST           )
00187     _OP_DEF(opexe_5, 0,                                0,  0,       0,                               OP_PVECFROM         )
00188     _OP_DEF(opexe_6, "length",                         1,  1,       TST_LIST,                        OP_LIST_LENGTH      )
00189     _OP_DEF(opexe_6, "assq",                           2,  2,       TST_NONE,                        OP_ASSQ             )
00190     _OP_DEF(opexe_6, "get-closure-code",               1,  1,       TST_NONE,                        OP_GET_CLOSURE      )
00191     _OP_DEF(opexe_6, "closure?",                       1,  1,       TST_NONE,                        OP_CLOSUREP         )
00192     _OP_DEF(opexe_6, "macro?",                         1,  1,       TST_NONE,                        OP_MACROP           )
00193 #undef _OP_DEF