![]() |
My Project
|
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <stdio.h>
#include <unistd.h>
#include <sys/stat.h>
#include "kernel/mod2.h"
#include "Singular/tok.h"
#include "table.h"
Go to the source code of this file.
Data Structures | |
struct | cmdnames |
struct | sValCmd2 |
struct | sValCmd1 |
struct | sValCmd3 |
struct | sValCmdM |
struct | sValAssign_sys |
struct | sValAssign |
struct | sConvertTypes |
Macros | |
#define | RING_MASK 4 |
#define | ZERODIVISOR_MASK 8 |
#define | NO_NC 0 |
#define | ALLOW_PLURAL 1 |
#define | COMM_PLURAL 2 |
#define | ALLOW_LP 64 |
#define | NC_MASK (3+64) |
#define | ALLOW_NC ALLOW_LP|ALLOW_PLURAL |
#define | ALLOW_RING 4 |
#define | NO_RING 0 |
#define | NO_ZERODIVISOR 8 |
#define | ALLOW_ZERODIVISOR 0 |
#define | ZERODIVISOR_MASK 8 |
#define | ALLOW_ZZ (ALLOW_RING|NO_ZERODIVISOR) |
#define | WARN_RING 16 |
#define | NO_CONVERSION 32 |
#define | NO_LRING 128 |
#define | jjWRONG 1 |
#define | jjWRONG2 1 |
#define | jjWRONG3 1 |
#define | D(A) 2 |
#define | NULL_VAL 0 |
#define | IPARITH |
#define | GENTABLE |
#define | IPCONV |
#define | IPASSIGN |
Functions | |
static int | RingDependend (int t) |
const char * | Tok2Cmdname (int tok) |
static int | _gentable_sort_cmds (const void *a, const void *b) |
compares to entry of cmdsname-list | |
static int | _texi_sort_cmds (const void *a, const void *b) |
const char * | iiTwoOps (int t) |
int | iiTestConvert (int inputType, int outputType) |
void | ttGen1 () |
void | ttGen2b () |
generate cmds initialisation | |
int | is_ref_cmd (cmdnames *c) |
void | ttGen2c () |
void | ttGen4 () |
int | main (int argc, char **argv) |
Variables | |
VAR int | produce_convert_table =0 |
VAR char * | iparith_inc |
struct _scmdnames |
struct sValCmd2 |
struct sValCmd1 |
struct sValCmd3 |
struct sValCmdM |
struct sValAssign_sys |
struct sValAssign |
struct sConvertTypes |
Definition at line 115 of file gentable.cc.
Data Fields | ||
---|---|---|
int | i_typ | |
int | o_typ | |
int | p | |
iiConvertProc | p | |
int | pl | |
iiConvertProcL | pl |
#define ALLOW_LP 64 |
Definition at line 33 of file gentable.cc.
#define ALLOW_NC ALLOW_LP|ALLOW_PLURAL |
Definition at line 35 of file gentable.cc.
#define ALLOW_PLURAL 1 |
Definition at line 30 of file gentable.cc.
#define ALLOW_RING 4 |
Definition at line 38 of file gentable.cc.
#define ALLOW_ZERODIVISOR 0 |
Definition at line 43 of file gentable.cc.
#define ALLOW_ZZ (ALLOW_RING|NO_ZERODIVISOR) |
Definition at line 46 of file gentable.cc.
#define COMM_PLURAL 2 |
Definition at line 31 of file gentable.cc.
Definition at line 128 of file gentable.cc.
#define GENTABLE |
Definition at line 131 of file gentable.cc.
#define IPARITH |
Definition at line 130 of file gentable.cc.
#define IPASSIGN |
Definition at line 133 of file gentable.cc.
#define IPCONV |
Definition at line 132 of file gentable.cc.
#define jjWRONG 1 |
Definition at line 124 of file gentable.cc.
#define jjWRONG2 1 |
Definition at line 125 of file gentable.cc.
#define jjWRONG3 1 |
Definition at line 126 of file gentable.cc.
#define NC_MASK (3+64) |
Definition at line 34 of file gentable.cc.
#define NO_CONVERSION 32 |
Definition at line 51 of file gentable.cc.
#define NO_LRING 128 |
Definition at line 54 of file gentable.cc.
#define NO_NC 0 |
Definition at line 29 of file gentable.cc.
#define NO_RING 0 |
Definition at line 39 of file gentable.cc.
#define NO_ZERODIVISOR 8 |
Definition at line 42 of file gentable.cc.
#define NULL_VAL 0 |
Definition at line 129 of file gentable.cc.
#define RING_MASK 4 |
Definition at line 20 of file gentable.cc.
#define WARN_RING 16 |
Definition at line 49 of file gentable.cc.
#define ZERODIVISOR_MASK 8 |
Definition at line 21 of file gentable.cc.
#define ZERODIVISOR_MASK 8 |
Definition at line 21 of file gentable.cc.
compares to entry of cmdsname-list
[in] | a | |
[in] | b |
Definition at line 191 of file gentable.cc.
Definition at line 220 of file gentable.cc.
Definition at line 298 of file gentable.cc.
Definition at line 258 of file gentable.cc.
Definition at line 23 of file gentable.cc.
Definition at line 137 of file gentable.cc.
void ttGen1 | ( | ) |
Definition at line 327 of file gentable.cc.
void ttGen2b | ( | ) |
generate cmds initialisation
Definition at line 573 of file gentable.cc.
void ttGen2c | ( | ) |
Definition at line 667 of file gentable.cc.
void ttGen4 | ( | ) |
Definition at line 843 of file gentable.cc.
Definition at line 326 of file gentable.cc.
Definition at line 26 of file gentable.cc.