hererocks
port70
hererocks | port70 | |
---|---|---|
3 | 3 | |
67 | 12 | |
- | - | |
6.2 | 2.6 | |
18 days ago | about 1 year ago | |
Python | Lua | |
MIT License | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
hererocks
-
A History of Lua
> Also it is technical and not user-friendly for windows users, because luarocks (package manager) is unusable there unless you’re skilled in C build systems and are ready to fix these issues.
I've found using hererocks[1] makes setting up lua and luarocks on Windows very easy. Running it in visual studio's command prompt has let me install pure Lua and C rocks.
However, I've noticed many rocks aren't updated on luarocks and the best way to install them is to point luarocks to the rockspec file in their git repo. (Instead of `luarocks install testy` you do something like `luarocks install https://raw.githubusercontent.com/siffiejoe/lua-testy/master...` .)
[1] https://github.com/luarocks/hererocks
-
The simplest instructions for installing the latest versions of lua + luajit + luarocks together on linux
You might like hererocks. I've found it to be the easiest way to get up and running with Lua on any system that already has Python.
-
[linux] Installing lua from source
Never used luaver but I can recommend hererocks. It's like pyenv but Lua. Just run ./hererocks.py --lua 5.3 --luarocks latest {location_to_install}.
port70
-
A History of Lua
The first line tells luacheck that the variables `init` and `handler` are globals, and the second line tells it to ignore lines that contain just whitespace (a quirk the text editor I use uses to manage indenting levels).
[1] https://github.com/spc476/port70/blob/master/port70/handlers...
-
In defense of blocks for local scopes
The 'do' keyword introduces a new scope (and can be used anywhere to do so). I format it as the former to be more explicit about the CONF variable being defined by the following code block.
[1] https://github.com/spc476/port70/blob/master/port70.lua#L41
-
HTTP Status 418 – I'm a teapot
I added the 418 response code to my gopher server [1]. There was one web bot that constantly hit it and was clueless that it wasn't a web server. It finally got a clue.
[1] https://github.com/spc476/port70
What are some alternatives?
install-lua - Lua installation guide
LjTools - LuaJIT 2.0 bytecode parser, viewer, assembler and test VM. Lua 5.1 parser, IDE and debugger.
nvim-oxi - :link: Rust bindings to all things Neovim
lua-enumerable - A port of ruby's Enumerable module to Lua
luacheck - A tool for linting and static analysis of Lua code.
tl - The compiler for Teal, a typed dialect of Lua
Prosody IM - IMPORTANT: due to a drive failure, as of 13-Mar-2021, the Mercurial repository had to be re-mirrored, which changed every commit SHA. The old SHAs and trees are backed up in the vault branches. Please migrate to the new branches as soon as you can.
lj-cdefdb - An auto-generated cdef database for LuaJIT
love - LÖVE is an awesome 2D game framework for Lua.