Re: Re: geant: notion of local variables

Sven Ehrke <sven.ehrke-S0/[email protected]> Sat, 02 Feb 2008 18:51:35 +0100
Newsgroups gmane.comp.lang.eiffel.gobo.general,gmane.comp.lang.eiffel.gobo.devel
Message-ID <[email protected]>
Yes, I am still around :-)

I would find it very useful to have local variables in geant.
Note that I did not look into the the details of the patch.
But what would you think about naming the task <local> instead
of <setlocal> (just because of the similarity to Eiffel)?

Also I could imagine that <unset> could be
smart enough to find out itself if it is a local variable or
a global one.

Actually a long time ago I thought about implementing local variables
myself but never took the time to do so. But the my feeling was the
if local variables are supported all (or at least most) of the globals could be
eliminated and be replaced by locals and parameters which should improve the
scripts a lot.

Eric Bezault wrote:
> Hi Jocelyn,
> 
> Somehow I didn't receive the original message that you sent on
> January 31rst. I'm glad you copied it below. If Sven has no
> objection about this addition to geant, then I'm fine with it.
> Note that I didn't review your code below, but I guess that
> you know the code of geant better than I do these days.
> 
> It has been a long time since we didn't hear from Sven in the
> Gobo mailing lists. Sven, are you still here?
>