jengelh-datetimespielwiese
Last change
on this file since 6ce030f was
6ce030f,
checked in by Oleksandr Motsak <motsak@…>, 11 years ago
|
removal of the $Id$ svn tag from everywhere
NOTE: the git SHA1 may be used instead (only on special places)
NOTE: the libraries Singular/LIB/*.lib still contain the marker due to our current use of svn
|
-
Property mode set to
100644
|
File size:
2.9 KB
|
Rev | Line | |
---|
[0e1846] | 1 | #ifndef TOK_H |
---|
| 2 | #define TOK_H |
---|
| 3 | /**************************************** |
---|
| 4 | * Computer Algebra System SINGULAR * |
---|
| 5 | ****************************************/ |
---|
| 6 | /* |
---|
[7885020] | 7 | * ABSTRACT: tokens, types for interpreter; general macros |
---|
[0e1846] | 8 | */ |
---|
| 9 | |
---|
| 10 | #ifndef MYYSTYPE |
---|
[599326] | 11 | #include <kernel/structs.h> |
---|
[0e1846] | 12 | #endif |
---|
| 13 | #ifndef UMINUS |
---|
[599326] | 14 | #include <Singular/grammar.h> |
---|
[0e1846] | 15 | #endif |
---|
| 16 | |
---|
| 17 | extern int yylineno; |
---|
[057e93c] | 18 | extern char my_yylinebuf[80]; |
---|
[0e1846] | 19 | |
---|
| 20 | #if defined(__cplusplus) |
---|
| 21 | extern int yyparse(void); |
---|
| 22 | #endif |
---|
| 23 | |
---|
[ec335c] | 24 | /* Define to use old mechanismen for saving currRing with procedures |
---|
| 25 | */ |
---|
| 26 | #define USE_IILOCALRING 1 |
---|
| 27 | |
---|
| 28 | |
---|
[7b3094] | 29 | /* the follwing defines for infix operators should not be changed: * |
---|
| 30 | * grammar.y does not use the symbolic names * |
---|
| 31 | * scanner.l uses the identies for some optimzations */ |
---|
| 32 | #define LOGIC_OP '&' |
---|
| 33 | #define MULDIV_OP '/' |
---|
| 34 | #define COMP_OP '<' |
---|
| 35 | |
---|
[0e1846] | 36 | #define COMMAND UMINUS+2 /* in tok.h */ |
---|
| 37 | #define ANY_TYPE UMINUS+3 |
---|
| 38 | #define IDHDL UMINUS+4 |
---|
[6d281ac] | 39 | #define NSHDL UMINUS+5 |
---|
[0e1846] | 40 | |
---|
| 41 | enum { |
---|
[6d281ac] | 42 | ALIAS_CMD = UMINUS + 15, |
---|
| 43 | ATTRIB_CMD, |
---|
[b07a730] | 44 | BAREISS_CMD, |
---|
[d7626fe] | 45 | BIGINT_CMD, |
---|
[a0f998] | 46 | BRACKET_CMD, |
---|
[e514ee] | 47 | BREAKPOINT_CMD, |
---|
[0e1846] | 48 | CHARACTERISTIC_CMD, |
---|
| 49 | CHARSTR_CMD, |
---|
| 50 | CHAR_SERIES_CMD, |
---|
[55b1687] | 51 | CHINREM_CMD, |
---|
[0e1846] | 52 | CLOSE_CMD, |
---|
| 53 | COLS_CMD, |
---|
| 54 | CONTENT_CMD, |
---|
| 55 | COUNT_CMD, |
---|
| 56 | DBPRINT_CMD, |
---|
| 57 | DEF_CMD, |
---|
| 58 | DEFINED_CMD, |
---|
| 59 | DELETE_CMD, |
---|
[1cbb1f4] | 60 | DENOMINATOR_CMD, |
---|
[6ae4f5] | 61 | DET_CMD, |
---|
[286bd57] | 62 | DUMP_CMD, |
---|
[49eeee] | 63 | END_GRAMMAR, |
---|
[bc36a0] | 64 | ENVELOPE_CMD, |
---|
[50a84c] | 65 | ERROR_CMD, |
---|
[6eb7f3] | 66 | EXECUTE_CMD, |
---|
[22f6bc] | 67 | EXPORTTO_CMD, |
---|
[0e1846] | 68 | EXTGCD_CMD, |
---|
| 69 | FAC_CMD, |
---|
[ea986d] | 70 | FIND_CMD, |
---|
[0e1846] | 71 | FACSTD_CMD, |
---|
[96f136] | 72 | FMD_CMD, |
---|
[4f3177] | 73 | FWALK_CMD, |
---|
[8bafbf0] | 74 | FGLM_CMD, |
---|
[bae192] | 75 | FGLMQUOT_CMD, |
---|
[d9c8d3] | 76 | FINDUNI_CMD, |
---|
[0e1846] | 77 | GCD_CMD, |
---|
[286bd57] | 78 | GETDUMP_CMD, |
---|
[3eccafa] | 79 | HIGHCORNER_CMD, |
---|
[c1489f2] | 80 | HRES_CMD, |
---|
[3095a1] | 81 | IMPART_CMD, |
---|
[22f6bc] | 82 | IMPORTFROM_CMD, |
---|
[0e1846] | 83 | INSERT_CMD, |
---|
| 84 | INT_CMD, |
---|
[db28cee] | 85 | INTDIV_CMD, |
---|
[b5e57e2] | 86 | INTERPOLATE_CMD, |
---|
[db28cee] | 87 | INTMOD_CMD, |
---|
[0e1846] | 88 | INTVEC_CMD, |
---|
| 89 | IS_RINGVAR, |
---|
[b3e9984] | 90 | JANET_CMD, |
---|
[cdd38f] | 91 | KERNEL_CMD, |
---|
[0e1846] | 92 | KILLATTR_CMD, |
---|
[dad52a] | 93 | KRES_CMD, |
---|
[a5f15a] | 94 | LAGSOLVE_CMD, |
---|
[0e1846] | 95 | LINK_CMD, |
---|
| 96 | LIST_CMD, |
---|
[0a3ddd] | 97 | LOAD_CMD, |
---|
[c5f17b] | 98 | LRES_CMD, |
---|
[f1c6bb1] | 99 | LU_CMD, |
---|
| 100 | LUI_CMD, |
---|
[19bf86] | 101 | LUS_CMD, |
---|
[0e1846] | 102 | MEMORY_CMD, |
---|
| 103 | MONITOR_CMD, |
---|
[a5f15a] | 104 | MPRES_CMD, |
---|
[0e1846] | 105 | MSTD_CMD, |
---|
| 106 | NAMEOF_CMD, |
---|
| 107 | NAMES_CMD, |
---|
[a2faa3] | 108 | NEWSTRUCT_CMD, |
---|
[d9a2b63] | 109 | NCALGEBRA_CMD, |
---|
[7b315e6] | 110 | NC_ALGEBRA_CMD, |
---|
[c7f3b7] | 111 | NEWTONPOLY_CMD, |
---|
[0e1846] | 112 | NPARS_CMD, |
---|
[1cbb1f4] | 113 | NUMERATOR_CMD, |
---|
[0e1846] | 114 | NVARS_CMD, |
---|
| 115 | OPEN_CMD, |
---|
[bc36a0] | 116 | OPPOSE_CMD, |
---|
| 117 | OPPOSITE_CMD, |
---|
[0e1846] | 118 | OPTION_CMD, |
---|
| 119 | ORDSTR_CMD, |
---|
| 120 | PACKAGE_CMD, |
---|
| 121 | PARSTR_CMD, |
---|
[89de39] | 122 | PFAC_CMD, |
---|
[46d09b] | 123 | POINTER_CMD, |
---|
[0e1846] | 124 | PRIME_CMD, |
---|
| 125 | PRINT_CMD, |
---|
| 126 | PRUNE_CMD, |
---|
| 127 | QRING_CMD, |
---|
[4663c0] | 128 | QRDS_CMD, |
---|
[0e1846] | 129 | RANDOM_CMD, |
---|
[fed143] | 130 | RANK_CMD, |
---|
[0e1846] | 131 | READ_CMD, |
---|
[3095a1] | 132 | REPART_CMD, |
---|
[0e1846] | 133 | RESERVEDNAME_CMD, |
---|
| 134 | RESULTANT_CMD, |
---|
[9b6b58] | 135 | RINGLIST_CMD, |
---|
[0e1846] | 136 | ROWS_CMD, |
---|
[c7f3b7] | 137 | SIMPLEX_CMD, |
---|
[3b00f2] | 138 | SLIM_GB_CMD, |
---|
[35cfa3] | 139 | SQR_FREE_CMD, |
---|
[7885020] | 140 | STATUS_CMD, |
---|
[0e1846] | 141 | STRING_CMD, |
---|
| 142 | SYSTEM_CMD, |
---|
| 143 | TEST_CMD, |
---|
| 144 | TRANSPOSE_CMD, |
---|
| 145 | TRACE_CMD, |
---|
[a0f998] | 146 | TWOSTD_CMD, |
---|
[0e1846] | 147 | TYPEOF_CMD, |
---|
[f62b27] | 148 | UNIVARIATE_CMD, |
---|
[0a3ddd] | 149 | UNLOAD_CMD, |
---|
[a5f15a] | 150 | URSOLVE_CMD, |
---|
| 151 | VANDER_CMD, |
---|
[f62b27] | 152 | VARIABLES_CMD, |
---|
[0e1846] | 153 | VARSTR_CMD, |
---|
[6c70ef] | 154 | WAIT1ST_CMD, |
---|
| 155 | WAITALL_CMD, |
---|
[0e1846] | 156 | WRITE_CMD, |
---|
| 157 | /* start system var section: VECHO */ |
---|
| 158 | VECHO, |
---|
| 159 | VCOLMAX, |
---|
| 160 | VTIMER, |
---|
[ea986d] | 161 | VRTIMER, |
---|
[0e1846] | 162 | TRACE, |
---|
| 163 | VOICE, |
---|
| 164 | VSHORTOUT, |
---|
| 165 | VPRINTLEVEL, |
---|
| 166 | /* end system var section: VPRINTLEVEL */ |
---|
| 167 | |
---|
| 168 | MAX_TOK /* must be the last, biggest token number */ |
---|
| 169 | }; |
---|
| 170 | |
---|
| 171 | #define NONE END_RING |
---|
| 172 | #define UNKNOWN 0 |
---|
| 173 | |
---|
| 174 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.