Dynamic routing/vhosts with nginx + Lua + Redis
Show HN: LuaGB – A Gameboy emulator written in pure Lua
Sandcat Browser – Chromium and Lua
ComputerCraft has turtles you can program in-game in lua.
leaf or leafo's contributions:
PICO-8 is a fantasy console for making, sharing and playing tiny games and other computer programs. When you turn it on, the machine greets you with a shell for typing in Lua commands and provides simple built-in tools for creating your own cartridges.
installing on my home linux computer.
curl -R -O <a href="http://www.lua.org/ftp/lua-5.3.4.tar.gz">http://www.lua.org/ftp/lua-5.3.4.tar.gz</a> tar zxf lua-5.3.4.tar.gz cd lua-5.3.4 make linux test
fatal error: readline/readline.h: No such file or directory
searched and found this linux mint thread:
that pointed to this post:
sudo apt-get install libreadline6 libreadline6-dev
make linux test and it worked.
then i did:
make linux install
whereis lua command returned:
lua: /usr/local/bin/lua /usr/local/lib/lua
i installed Lua 5.3.4.
lua -v returned:
Lua 5.3.4 Copyright (C) 1994-2017 Lua.org, PUC-Rio
Learn how you can build APIs by integrating the Lua and C programming languages. These APIs can be used to speed up development within your company, allow people to customize your app or game, and serve as the foundation of a domain-specific language within a platform you’re developing.
Author Tyler Neylon—a game designer with a PhD in applied math—shows you how C and Lua interface with each other, so you can create a set of Lua classes and functions that work programmatically with local applications. You’ll also learn how to guard against shady scripts written by users who either make mistakes or purposefully attempt to break your system.
Most Downloaded(This week)
lua-cjson by OpenResty — downloads: 1,348,508
Fast JSON encoding/parsing support for Lua
lua-geoip by agladysh — downloads: 961,520
Bindings for MaxMind's GeoIP library
LPeg by gvvaughan — downloads: 835,575
Parsing Expression Grammars For Lua
LuaFileSystem by hisham — downloads: 822,932
File System Library for the Lua Programming Language
LuaSocket by luarocks — downloads: 817,754
Network support for the Lua language
lua's package manager:
tar -xvzf luarocks-2.4.3.tar.gz
Want to install LuaSocket library found at https://luarocks.org/modules/luarocks/luasocket
luarocks install luasocket
body,c,l,h = http.request('http://w3.impa.br/~diego/software/luasocket/http.html')
may need to experiment with this some day: