paulr@sequent.uucp (Paul Reger) (11/28/90)
I recently Posted asking if anyone had heard of any PD random
expression generator tools. I got only one useful reply.
He indicated that plum hall has a suite that does this, it is called
'egen'.
We have the suite and it does not perform adequately for our needs.
For example:
*** Never produces a cast in its expressions:
(int) f(1.2)* 23.0
*** Never produces an expression with the tertiary operator:
(exp ? exp : exp)
*** Never produces a constant in its expression:
5*i
23+6
*** Never has function calls. Consequently, no expressions as
parameters to function calls.
*** Never has arrays, consequently no pointer arithmetic, and
no expressions within array indices:
int d[5];
d[3+i%23] = *(d+3);
*** Never has structures/unions, and thus no . and -> operators, and no
bit fields.
*** No Complex (or aggregate) types: (arrays of functions that
return structures, a union with a nested structure, an array of
structures, a structure containing an array, an array of structures
that contain a structure element that is a union that contains an
array of structures ... etc).
*** Never produces float or double types, or if you enabled it, it
would only be a compile only test since its code will not test
correctly due to the lack of support for the notion of 'allowable
error propagation'. And compile only tests are not rigorous.
*** Never produces an expression with a comma operator:
exp ',' exp
If anyone knows of any tools that does all of the above, plus what
egen does, please post information on it, send me e-mail or call me,
I really need a tool like that.
paulr (Paul Reger)
Sequent Computer Systems, Beaverton Oregon
{uunet,ucbvax!rutgers!ogccse}!sequent!paulr
paulr@sequent.com