Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.compilers > #1148 > unrolled thread

Re: Is multi-level function return possible?

Started byTomasz Kowaltowski <tkowaltowski@gmail.com>
First post2014-03-12 08:36 -0300
Last post2014-03-12 08:36 -0300
Articles 1 — 1 participant

Back to article view | Back to comp.compilers


Contents

  Re: Is multi-level function return possible? Tomasz Kowaltowski <tkowaltowski@gmail.com> - 2014-03-12 08:36 -0300

#1148 — Re: Is multi-level function return possible?

FromTomasz Kowaltowski <tkowaltowski@gmail.com>
Date2014-03-12 08:36 -0300
SubjectRe: Is multi-level function return possible?
Message-ID<14-03-026@comp.compilers>
> Is this a doable thing for a Pascal-like language that is meant to be
> compiled? I have a multi-level break which works within a procedure, but the
> return across procedure boundaries seems to add a lot of complications.

This problem is somewhat simpler than the the implementation of
unrestricted procedures or functions passed as parameters and their
returns, which also exist in Pascal, and it can use a similar
solution. See for instance:

     Parameter Passing Mechanisms and Run Time Data Structures
     Software -- Practice and Experience 11,7 (757-765), 1981

Tomasz

[toc] | [standalone]


Back to top | Article view | comp.compilers


csiph-web