[OpenBIOS] [PATCH 7/10] Apple local variables implementation in Forth
programmingkidx at gmail.com
Tue Aug 16 01:41:47 CEST 2011
On Aug 15, 2011, at 11:01 AM, openbios-request at openbios.org wrote:
> Message: 2
> Date: Mon, 15 Aug 2011 13:03:29 +0100
> From: Mark Cave-Ayland <mark.cave-ayland at siriusit.co.uk>
> To: openbios at openbios.org
> Subject: Re: [OpenBIOS] [PATCH 7/10] Apple local variables
> implementation in Forth
> Message-ID: <4E490B11.2040806 at siriusit.co.uk>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> On 10/08/11 16:43, William Hahne wrote:
>> Very interesting. I think this needs someone with quite strong
>> Forth-fu (Stefan) to review this one. Also I can't see any related
>> documentation with this patch related to locals support?
>> This is an Apple specific thing. See
> Right I understand this, but I'm fairly sure there is an official spec
> for Forth local variables somewhere. For something to be committed, I'd
> expect the commit reference to contain a link to the source
> specification and comments in the code giving an indication as to what
> the level of implementation actually is (I absolutely understand that it
> can be impractical to implement everything within the time available).
There doesn't appear to be any official specification to local variables in Forth. From what I remember, the very creator of Forth was against them. It looks like the only way to understand Apple's local variables support is to see how their own code behaves in OpenFirmware. I have found suggestions on how to add local variables support to forth, but never any thing "official".
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the OpenBIOS