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:


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


	function a(b)
	 return a(b)


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 Koftinoff <>

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