Need C-->Pascal conversion program

mccaugh at sunb0.cs.uiuc.edu mccaugh at sunb0.cs.uiuc.edu
Fri Mar 16 15:54:00 AEST 1990


 If you are going to convert from PASCAl to C, how do you propose to
 handle arbitrarily nested PROCs/FUNCTIONs? Scope-nesting can get
 arbitrarily complex in PASCAL - not so in C. The usual solution is
 a "display" consisting of pointers within the nested block to variables
 referenced in some containing block.

 Scott McCaughrin (mccaugh at sunb0.cs.uiuc.edu)
.



More information about the Comp.lang.c mailing list