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


Groups > comp.compilers > #1148

Re: Is multi-level function return possible?

From Tomasz Kowaltowski <tkowaltowski@gmail.com>
Newsgroups comp.compilers
Subject Re: Is multi-level function return possible?
Date 2014-03-12 08:36 -0300
Organization Compilers Central
Message-ID <14-03-026@comp.compilers> (permalink)

Show all headers | View raw


> 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

Back to comp.compilers | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web