![]() |
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 | 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 118 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 38 of file gentable.cc.
#define ALLOW_NC ALLOW_LP|ALLOW_PLURAL |
Definition at line 40 of file gentable.cc.
#define ALLOW_PLURAL 1 |
Definition at line 35 of file gentable.cc.
#define ALLOW_RING 4 |
Definition at line 43 of file gentable.cc.
#define ALLOW_ZERODIVISOR 0 |
Definition at line 48 of file gentable.cc.
#define ALLOW_ZZ (ALLOW_RING|NO_ZERODIVISOR) |
Definition at line 51 of file gentable.cc.
#define COMM_PLURAL 2 |
Definition at line 36 of file gentable.cc.
Definition at line 131 of file gentable.cc.
#define GENTABLE |
Definition at line 134 of file gentable.cc.
#define IPARITH |
Definition at line 133 of file gentable.cc.
#define IPASSIGN |
Definition at line 136 of file gentable.cc.
#define IPCONV |
Definition at line 135 of file gentable.cc.
#define jjWRONG 1 |
Definition at line 127 of file gentable.cc.
#define jjWRONG2 1 |
Definition at line 128 of file gentable.cc.
#define jjWRONG3 1 |
Definition at line 129 of file gentable.cc.
#define NC_MASK (3+64) |
Definition at line 39 of file gentable.cc.
#define NO_CONVERSION 32 |
Definition at line 56 of file gentable.cc.
#define NO_NC 0 |
Definition at line 34 of file gentable.cc.
#define NO_RING 0 |
Definition at line 44 of file gentable.cc.
#define NO_ZERODIVISOR 8 |
Definition at line 47 of file gentable.cc.
#define NULL_VAL 0 |
Definition at line 132 of file gentable.cc.
#define RING_MASK 4 |
Definition at line 21 of file gentable.cc.
#define WARN_RING 16 |
Definition at line 54 of file gentable.cc.
#define ZERODIVISOR_MASK 8 |
Definition at line 22 of file gentable.cc.
#define ZERODIVISOR_MASK 8 |
Definition at line 22 of file gentable.cc.
compares to entry of cmdsname-list
[in] | a | |
[in] | b |
Definition at line 194 of file gentable.cc.
Definition at line 223 of file gentable.cc.
Definition at line 301 of file gentable.cc.
Definition at line 261 of file gentable.cc.
Definition at line 28 of file gentable.cc.
Definition at line 140 of file gentable.cc.
void ttGen1 | ( | ) |
Definition at line 330 of file gentable.cc.
void ttGen2b | ( | ) |
generate cmds initialisation
Definition at line 574 of file gentable.cc.
void ttGen2c | ( | ) |
Definition at line 668 of file gentable.cc.
void ttGen4 | ( | ) |
Definition at line 844 of file gentable.cc.
Definition at line 329 of file gentable.cc.
Definition at line 31 of file gentable.cc.