Adrian Perez |
|
|
Currently developing an adventure game engine that will be using Lua as scripting engine: [Lixoo]. |
|
== Current Stuff == |
|
== STUFF I MADE: == |
|
* [SnabbWall] (luajit + Snabb Switch): Application-level firewall suite. * [ljndpi] (luajit): Binding for the nDPI library. == Very Old Stuff == |
|
== STUFF I'M MAKING: == These are Lua-related projects I'm currently working on: * Lixoo: the "Lightweight Interpreter eXtensible and Object Oriented", an Open Source 2D adventure game engine. I'm really making a great effort with this. Will be using Lua 5.0 as scripting engine. [Official site]. |
|
== STUFF I DIDN'T MAKE YET: == |
|
== Ideas for Stuff == |
|
* Some kind of mod_lua for [Apache]: I know there's one from [XTG-Systems] floating around there, but it's fairly simple. I know there's CGILua and I recognize it's great... but I'd like to see CGILua running on the Apache included in MacOS X, and there's no binary distribution for Macs. I think also that using an Apache module is faster that using a CGI program; at least this is what happens with [mod_python] and [mod_perl]. It should be nice if it had support for Apache2. Update: I have seen some different mod_lua implementations around there, even for Apache2, great! |
i = 1;
for line in io.readlines() do
print(i .. ": ", line);
i = i+1;
end
for (int i=1, b[100];;i++) printf("%d: %s\n",i,gets((char*)b));
while 1 do i=(i or 0)+1 print(""..i..": "..io.read()) end
or
for i,ln in function(s,i) return i+1,""..i..": "..io.read() end,nil,1 do print(ln) end
main() function and include stdio.h... Maybe I often worry too much about code correctness and maybe that script was not a good example after all :P -- Adrian
while(<>) {print(++$i.": ".$_)}
awk '{print NR, $0}' -