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


Groups > comp.compilers > #1148

Re: Is multi-level function return possible?

Path csiph.com!usenet.pasdenom.info!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!peer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.iecc.com!.POSTED!nerds-end
From Tomasz Kowaltowski <tkowaltowski@gmail.com>
Newsgroups comp.compilers
Subject Re: Is multi-level function return possible?
Date Wed, 12 Mar 2014 08:36:03 -0300
Organization Compilers Central
Lines 13
Sender news@iecc.com
Approved comp.compilers@iecc.com
Message-ID <14-03-026@comp.compilers> (permalink)
Reply-To tkowaltowski@gmail.com
NNTP-Posting-Host news.iecc.com
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1
X-Trace miucha.iecc.com 1394679980 34497 64.57.183.58 (13 Mar 2014 03:06:20 GMT)
X-Complaints-To abuse@iecc.com
NNTP-Posting-Date Thu, 13 Mar 2014 03:06:20 +0000 (UTC)
Keywords code
Posted-Date 12 Mar 2014 23:06:20 EDT
X-submission-address compilers@iecc.com
X-moderator-address compilers-request@iecc.com
X-FAQ-and-archives http://compilers.iecc.com
X-Received-Bytes 1584
X-Received-Body-CRC 3545640678
Xref csiph.com comp.compilers:1148

Show key headers only | 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