lua-users home
lua-l archive

Re: Tailcall

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


> Our concern here is error messages. A OP_TAILCALL leaves no trace of the
> calling function, and that may be quite confusing in error messages.
> -- Roberto
That's a legitimate concern. On the other hand, it discourages the use of a
natural form of recursive loop.
Could this possibly be a settable option? For example, if the debugging
library is loaded, then you don't get tailcalls, but if it is you do...
R.

AltStyle によって変換されたページ (->オリジナル) /