source: git/Singular/tok.h @ 883eacf

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