[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua interpreter compiled in Javascript
- From: HyperHacker <hyperhacker@...>
- Date: Sat, 27 Nov 2010 18:55:51 -0700
On Sat, Nov 27, 2010 at 17:56, Tom N Harris <telliamed@whoopdedo.org> wrote:
> On 11/27/2010 12:36 PM, Valerio Schiavoni wrote:
>>
>> It's available here:
>>
>> http://syntensity.com/static/lua.html
>>
>
> do local a=1 for b in function(_,c)a,c=c,c+a return c end,a,0 do print(b) if
> b>1000 then break end end end
>
> /bin/this.program: (error object is not a string)
>
> --
> - tom
> telliamed@whoopdedo.org
>
>
Surprised this wasn't noticed:
for k,v in pairs(_G) do print(k, v) end
The tables and functions are not formatted properly (just "table: %p")
and the arguments to print() are separated by two line breaks instead
of a tab.
--
Sent from my toaster.