|pointer elimination in C firstname.lastname@example.org (Karen Miller) (1993-10-05)|
|Re:pointer elimination in C email@example.com (1993-10-06)|
|Re: pointer elimination in C firstname.lastname@example.org (Chris DONAWA) (1993-10-10)|
|Re: Re:pointer elimination in C email@example.com (1993-10-17)|
|Re: pointer elimination in C firstname.lastname@example.org (1993-10-19)|
|Re: pointer elimination in C email@example.com (Robin Popplestone) (1993-10-22)|
|Re: pointer elimination in C firstname.lastname@example.org (1993-10-22)|
|[7 later articles]|
|From:||Karen Miller <email@example.com>|
|Keywords:||C, analysis, question|
|Date:||Tue, 5 Oct 1993 14:27:17 GMT|
I am translating C into another language which does not implement pointers.
Has anyone done any work on understanding what a particular pointer does.
Does anyone have an algorithm for eliminating or replacing pointers in C
I know that in general this is very difficult to do but perhaps for
specific cases a solution may exist (i.e. recognizing when pointers are
only being used as call by reference)
Any suggestions or "pointers" will be appreciated.
example pointer elimination:
int *p; int *q;
p = &x;
q = &y;
*p = *q + 1;
can be translated to x = y + 1;
Return to the
Search the comp.compilers archives again.