|This is one
version of http://www.gtoal.com/languages/algol60/TESTS/tennent.a60.html
from your personal cache.|
The page may have changed since that
time. Click here for the current page.
Since this page is stored on
your computer, publicly linking to this page will not
Google may not be affiliated with the
authors of this page nor responsible for its content. This page may
be protected by copyright.
this example was provided by Bob Tennent
to demonstrate non-trivial using call-by-name parameters., this
program doesn't work properly with nase-a60 interpreter, however,
it does work with the marst translator.,
for further discussion see:
J.C.Reynolds. Syntactic control of interference. In: Conference
Record of the 5th Annual ACM Symposium on Principles of Programming
Languages, pp.39-46, Tucson, Arizona, January 1978. ACM, New York.
P.W.O'Hearn and R.D.Tennent. Parametricity and local variables.
J.ACM, 42(3):658-709, May 1995. Preliminary version appeared in
Proceedings of POPL 93
N := N - 1;
N := 0;
procedure MYUSER(VAL, INC);