Re: [9fans] Lua on Plan9

2009-08-17 Thread Robert Raschke
On Fri, Aug 14, 2009 at 7:27 PM, Roman V. Shaposhnik wrote: > On Fri, 2009-08-14 at 09:27 +0100, Robert Raschke wrote: > > > Last time I tried, the standard Lua compiled out of the box under the > > APE. > > That is good to know. Still, I'd rather see it run without APE. > > > Great little langua

Re: [9fans] Lua on Plan9

2009-08-14 Thread John Floren
On Fri, Aug 14, 2009 at 2:52 PM, Josh Wood wrote: > >> Just fetched the tarball for lua-5.1.4, changed the CC=gcc to CC=cc >> and tried "make posix". After lots of complaining about the -O2 >> option, I see: >> >> /usr/john/lua-5.1.4/src/liolib.c:178[stdin:2686] incompatible types: >> "IND STRUCT _

Re: [9fans] Lua on Plan9

2009-08-14 Thread Josh Wood
Just fetched the tarball for lua-5.1.4, changed the CC=gcc to CC=cc and tried "make posix". After lots of complaining about the -O2 option, I see: /usr/john/lua-5.1.4/src/liolib.c:178[stdin:2686] incompatible types: "IND STRUCT _1_" and "INT" for op "AS" I'm going to poke around and look into

Re: [9fans] Lua on Plan9

2009-08-14 Thread John Floren
On Fri, Aug 14, 2009 at 11:27 AM, Roman V. Shaposhnik wrote: > On Fri, 2009-08-14 at 09:27 +0100, Robert Raschke wrote: > >> Last time I tried, the standard Lua compiled out of the box under the >> APE. Just fetched the tarball for lua-5.1.4, changed the CC=gcc to CC=cc and tried "make posix". Aft

Re: [9fans] Lua on Plan9

2009-08-14 Thread Skip Tavakkolian
> What do you use it for? Any kind of fun projects? My idea is to try > and see whether Plan9+Lua would be a more useful combination for > building Web service environment than werc. > > Thanks, > Roman. Kenji has written a webdav server for pegasus (Kenji's httpd branch) using lua.

[9fans] Lua on Plan9

2009-08-14 Thread Roman V. Shaposhnik
On Fri, 2009-08-14 at 09:27 +0100, Robert Raschke wrote: > Last time I tried, the standard Lua compiled out of the box under the > APE. That is good to know. Still, I'd rather see it run without APE. > Great little language. I use it in my day job (together with Erlang). *together* with Erlang?

[9fans] Lua on Plan9

2009-08-14 Thread Roman V. Shaposhnik
On Fri, 2009-08-14 at 09:16 +, Pavel Klinkovsky wrote: > > Speaking of which (or may be not ;-)) is there anybody using Lua > > on Plan9? > I am "playing" with Lua on my Plan9 computer... What do you use it for? Any kind of fun projects? My idea is to try and see whether Plan9+Lua would be a m