guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: translators and scoping rules (was: Re: language translator help)


From: Marius Vollmer
Subject: Re: translators and scoping rules (was: Re: language translator help)
Date: 07 May 2002 20:50:58 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

"John W. Eaton" <address@hidden> writes:

> | Can you statically determine whether a function uses eval in such a
> | way?  If so, you can generate efficient code for functions that can
> | not define new locals, and use some horrible scheme for functions that
> | can.
> 
> I'm not sure.  It would be easy to determine whether a function uses
> eval(), but I think it would be harder to decide whether what funny
> stuff might be going on with eval since the string to be evaluated can
> come from anywhere, including user input.

Yes, just detecting the use of eval would be good enough, then.  It
might catch cases that don't strictly need it, but that's no problem.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]