lua-users home
lua-l archive

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


On 30-Nov-04, at 9:40 PM, Diego Nehab wrote:

Hi,

What is it that you are trying to accomplish? Concretely, what is it that
Lua can do that you don't want your description language to be able to
do?

[]s,
Diego.



this:
----------
	function a(b)
	 return a(b)
	end

a(1)
----------

And variations with multiple functions doing recursion,
or this:

	while length==1 do print(length) end

----------

Basically, anything with unknown or infinite loop counts.

So, maybe this precludes having functions at all?

I believe the Quake III scripting language has a special mode like this so that it is impossible for a user to bind a key to a function which hangs. It severely limits the uses, of course, but it is still useful and effective....



Jeff

--
Jeff Koftinoff <jeffk@jdkoftinoff.com>
www.jdkoftinoff.com

Attachment: PGP.sig
Description: This is a digitally signed message part