#LuaRocks

Hishamhisham_hm
2025-06-05

LuaRocks 3.12.0 is now released, the first release after the codebase was converted to Teal!

Congrats to my mentee Victor Ilchev, who performed the conversion as his summer project for GSoC 2024. His work should be hitting production CIs worldwide by now!

Hishamhisham_hm
2025-03-04

aaand I'm done for the night, after a 7 hour stream!

We now have a branch where can build from a plain Makefile into a stand-alone executable with all its dependencies vendored in: github.com/luarocks/luarocks/t

Next steps will be to deal with its non-Lua dependencies, and Windows cross-compilation. With that in place, further code cleanups can start!

Omikhleia - Dragon Brumeuxomikhleia
2025-02-27

Today, I extracted my port of the Rough.js library into a standalone module and published it on

It is a small graphics library that lets you draw lines, polygons and curves in a sketchy, hand-drawn-like, style.

I formerly used it in some of my 3rd-party packages for the typesetting system, but now having it as its own independent module might be interesting for other Lua developers, outside the SILE ecosystem.

github.com/Omikhleia/rough-lua

Michal :verified: :btw:michal@kottman.xyz
2024-12-11

#LuaRocks question - how can I use it with #LuaJIT?

$ luarocks --lua-version=5.1 install --local opencl
Installing luarocks.org/opencl-1.2.0-1.sr

Warning: variable CFLAGS was not passed in build_variables
make[1]: Entering directory '/tmp/luarocks_opencl-1.2.0-1/lua-opencl/test'
/usr/bin/lua5.1 platform.lua
/usr/bin/lua5.1: ...opencl-1.2.0-1/lua-opencl/test/../opencl/C.lua:7: module 'ffi' not found

Do I need to reconfigure/reinstall luarocks, or can I make it work with both LuaJIT and Lua 5.1/5.4?

2024-09-19

Peter Billam passed away last week.

Composer, musician, linguist, hacker, community contributor.

He had been fighting ill health at Royal Hobart Hospital for the last 2 months when on Wednesday his condition deteriorated suddenly. He died peacefully in the company of a friend on Thursday.

His website:
peterbillam.fastmail.com.user.

Peter's code:
gitlab.com/users/peterbillam/p

Rest In Power Peter

#ausMusic #linux #australia #tasLUG #lua #luaRocks #muscript #tasmania #midi #floss #creativeCommons #music

A portait photo of Peter Billam.
Begasusbegasus
2024-07-10

Update on , 5.4.7 and 3.11.1 have been fixed to nicely work together, now you should be able to just use luarocks to install your rocks on the system and use them, seen the new 75.1 version and a new package for 1.85.0 has been added, with the last 2 one in place I was able to build and package 2024.7.3 (not packaged for the depot).
Have fun in your Haiku as always! :)

me, a js dev, miss the ability to generate the `.rockspec` file from luarocks command

#lua #luarocks

2023-07-31

I continue my Lua series with part 3 — testing, mocks, and continuous integration.

martin-fieber.de/blog/how-to-t

#Lua #LuaRocks #LuaUnit

@vanja I did this with #python once, didn't even manage to create a package to put my code in. I went with #lua in the end, and installing packages with #luarocks was surprisingly pleasant.

I'm trying #hare right now, which would've been a lot more mearable if I had used it back then.

Wrote a little #fennel script to parse and create #bitsy game files using #lua:

git.sr.ht/~jummit/bitsy-format

It can convert between .bitsy and .json files:

parse-bitsy game.bitsy # prints the json
parse-bitsy game.json # prints the bitsy format

It's also on #luarocks: luarocks.org/modules/Jummit/bi

2023-04-02

New article! Part 2 of my 8-part Lua series. This time about creating, building, and publishing packages for Lua: martin-fieber.de/blog/create-b

Series overview: martin-fieber.de/series/lua/

#LuaSeries #Lua #LuaRocks

Montegasppα Cacilhας Ⓐ♾️🇵🇸cacilhas@mas.to
2023-03-01

#Lua and #Luarocks has been removing support to Lua 5.1 in order to harm #LuaJIT. Since LuaJIT is far superior to Lua, that movement tends to isolate the Lua fanatic cult from the rest of the wold.

2023-02-27

I’m writing a series of articles about Lua, covering different aspects of the language and the surrounding ecosystem. I just published part 1, focusing on the project setup with LuaRocks: martin-fieber.de/blog/lua-proj

Series overview: martin-fieber.de/series/lua/

#Lua #LuaRocks #ProjectSetup #LuaFormatter #Luacheck

Mark Derricutt (talios)talios@mastodon.nz
2023-02-21

Just found github.com/Omikhleia/markdown. - an enhanced Markdown module for the sile typesetter (alternative to LaTeX) - also found djot.net via there as well. Sample PDF rendering looks absolutely gorgeous - sadly I can’t seem to install it due to a #luarocks bug (gist.github.com/talios/dcb25f4) that I’ll have to investigate another night.

Alexandre B A Villares 🐍villares@ciberlandia.pt
2022-12-16

Em vez de fazer o que eu devia estar fazendo, obviamente eu estou procrastinando procurando uma alternativa ao gravador de tela em GIF #Peek que eu usava para preparar material de apoio às aulas. Achei um #Gifine, que parece que é escrito em #Lualang, o que me obrigou a instalar #luarocks, e como eu sou tosco no pamac ele está atualizanfo neste momento 2GB de coisas no meu Manjaro.

... (FKA Gergely Nagy 🐁)algernon@trunk.mad-scientist.club
2022-04-17

I love that #LuaRocks' builtin build method copies ./lua to the right place as-is. This allows me to use the build method for my little #Fennel project without any weird tricks.

Yes, the stuff I install won't be usable from Lua without Fennel. That's fine, it isn't meant to be. Nor is the package on LuaRocks - I just supply a rockspec file to build it locally.

Patrick Marchandmathuin@bsd.network
2019-10-22

@cathal good to know ! I want to try and run it on #OpenBSD, but there seems to be no #luarocks package, so I'll have to see if I can build that first.

read-only account (Rain 🚱)grainloom@cybre.space
2019-06-19

@zig @turion
JS is a dynamic language so it's not even like npm can analyze what modules export
just like how there is nothing special about #luarocks besides definitions being Lua files
my cynical take is that JS devs can't stand it when something isn't JS
it's pretty much the whole reason node.js exists

Adrián Pérezaperezdc
2019-05-09

Today I made an update to my RockZ plugin, so now it uses 3.1.2 by default, and fixed a small bug which fixes using the newest versions with — Grab it while it's fresh from the oven! → github.com/aperezdc/rockz

read-only account (Rain 🚱)grainloom@cybre.space
2019-03-27

#guix project i should probably do:
a #luarocks importer

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst