21 static void pnf(
char *s,
int n)
27 while(++i<40) printf(
".");
28 printf(
" %3d bytes.\n",n);
44 printf(
"Wild_Life Interpreter Version +VERSION+ +DATE+\n");
45 printf(
"Copyright (C) 1991-93 DEC Paris Research Laboratory\n");
46 printf(
"Extensions, Copyright (C) 1994-1995 Intelligent Software Group, SFU\n");
57 printf(
"X interface not installed.\n");
61 printf(
"\n- Main data-structure sizes:\n");
64 pnf(
"binary tree node",
sizeof(
struct node));
65 pnf(
"stacked goal",
sizeof(
struct goal));
70 pnf(
"list node",
sizeof(
struct list));
71 pnf(
"real number",
sizeof(
REAL));
73 printf(
"\n- Size of C built-in types:\n");
75 pnf(
"long",
sizeof(
long));
76 pnf(
"int",
sizeof(
unsigned long));
77 pnf(
"pointer",
sizeof(
char *));
79 printf(
"\n- System constants:\n");
80 pnf(
"Maximum string or line length:",
STRLEN);
82 pnf(
"Size of real numbers:",
sizeof(
REAL));
static void pnf(char *s, int n)
PNF.
#define PARSER_STACK_SIZE
Maximum depth of the parser stack.
#define REAL
Which C type to use to represent reals and integers in Wild_Life.
#define STRLEN
Maximum size of file names and input tokens (which includes input strings) (Note: calculated tokens c...