Any good/standard way to format #Lua code?
I'd like some programme that'll rewrite my `.lua` file to match Some™ Style, so everythign will be Standardized™.
(In Rust we have `cargo fmt`)
#Tag
Any good/standard way to format #Lua code?
I'd like some programme that'll rewrite my `.lua` file to match Some™ Style, so everythign will be Standardized™.
(In Rust we have `cargo fmt`)
Wieso muss frau erst über drei Ecken erfahren, dass es eine "Gewerkschaft" für Care-Arbeit gibt?!
Ok ok, ich kenne ja die Antwort.
👉 LUA - Liga für unbezahlte Arbeit
Deutschlands erste gewerkschaftsähnliche Interessenvertretung für alle familiär Sorgearbeitenden.
Viele Mitglieder = größere Lobby☝️
Bitte weiter erzählen 📢
https://lua-carewerkschaft.de/
#carearbeit #lua #gewerkschaften #fedieltern #pflege #pflegebeduerftige #boostswelcome
#SilverBullet is becoming more and more of a fully featured programming platform.
It already had its own programming language (Space #Lua) for a while. Infrastructure wise there is a data store (with query language), event bus, message queue and I’m currently designing a service discovery and invocation system, as well as a package manager.
Things have escalated slightly from “hey, let’s build a little notes app.”
Wieso muss frau erst über drei Ecken erfahren, dass es eine "Gewerkschaft" für Care-Arbeit gibt?!
Ok ok, ich kenne ja die Antwort.
👉 LUA - Liga für unbezahlte Arbeit
Deutschlands erste gewerkschaftsähnliche Interessenvertretung für alle familiär Sorgearbeitenden.
Viele Mitglieder = größere Lobby☝️
Bitte weiter erzählen 📢
https://lua-carewerkschaft.de/
#carearbeit #lua #gewerkschaften #fedieltern #pflege #pflegebeduerftige #boostswelcome
「 It is almost a crime that JS as understood by the browser is this beautiful language with extreme retrocompatibility, while JS as understood and used by the current tooling and workflows is this mess moving at lightspeed 」
https://andregarzia.com/2025/03/why-i-choose-lua-for-this-blog.html
Want to write a #GNOME app in #Lua? My new guide is the definitive tutorial for doing so.
https://www.vtrlx.ca/posts/2025/howto-complete-lua-gnome-app/
Want to write a #GNOME app in #Lua? My new guide is the definitive tutorial for doing so.
https://www.vtrlx.ca/posts/2025/howto-complete-lua-gnome-app/
Want to write a #GNOME app in #Lua? My new guide is the definitive tutorial for doing so.
https://www.vtrlx.ca/posts/2025/howto-complete-lua-gnome-app/
#Lua disappoints me. Like, what’s the use in metatables if I can’t even attach one to a number or a function? Asking because I want to implement my functional threading operator in Lua (by redefinition __shr/>> operator), and it just... doesn’t come together?
You can attach stuff to numbers and functions in #JavaScript, which is much better (my operator is not implementable in #JS, but that’s for a different reason.) You can attach metadata (including functions) to ANYTHING in #Clojure. But not in Lua, apparently. Sigh.
#Lua disappoints me. Like, what’s the use in metatables if I can’t even attach one to a number or a function? Asking because I want to implement my functional threading operator in Lua (by redefinition __shr/>> operator), and it just... doesn’t come together?
You can attach stuff to numbers and functions in #JavaScript, which is much better (my operator is not implementable in #JS, but that’s for a different reason.) You can attach metadata (including functions) to ANYTHING in #Clojure. But not in Lua, apparently. Sigh.
#Lua is what a C++ developer thinks is "easy enough for a level designer".
#BASIC has the virtues of being trivial to read, write, and only has two data types, plus arrays of those. No classes, no function pointers. If you add named labels or functions, it's "modern" enough.
Hi, people! ✌️
I've build "Cat a shooter 😼" for Android, and this is the last thing that I have to do for a while.
And now you can download this game for your Android device 📱 from Gamejolt: https://gamejolt.com/games/cat-a-shooter/1007868
or from itch.io: https://xolatgames.itch.io/cat-a-shooter
Also I've add instructions for building to it GitLab page 👉 https://gitlab.com/xolatgames/cat-a-shooter
So, I think that it's all, and see ya later.
Have a good day! 😉 😜 ✌️
#opensource #games #gamedev #android #arcade #spaceinvaders #lua #devlog #love2d
🦾 Why Lua Beats MicroPython for Serious Embedded Devs
「 Lua isn’t just compatible with embedded systems; the Lua ANSI C library was designed for them. Its architecture is clean, compact, and deterministic.
MicroPython, on the other hand, is a reimplementation of Python 3. It works well for many embedded use cases, but it inherits assumptions from a desktop-oriented language 」
https://www.embedded.com/why-lua-beats-micropython-for-serious-embedded-devs
I'm currently writing #Fennel examples, and this is delightful. I even managed to make the decide function even more beautiful than it was!
(local ruleset [is-in-ai-robots-txt?
default])
(fn decide [request]
(accumulate [outcome nil
_ f (ipairs ruleset)
&until (not= outcome nil)]
(f request)))
This is perfection.
From nothing to running iocaine + Caddy with ai.robots.txt's robots.json and a few metrics as a starting point.
Contains #Roto, #Lua, and #Fennel - and a few tests too, for each.
I'm on a bit of a roll lately, and have released #iocaine version 2.4.0 just a few moments ago.
This does not bring that many significant changes as 2.3.0 did, but it does introduce #Lua and #Fennel as languages you can script its decision making with, on top of #Roto, which was introduced in 2.2.0.
While these languages run slower than Roto, they're still very fast, and are not going to be a bottleneck - they do provide a more familiar language to write the decision making in!
Oh, and metrics can now be persisted across restarts.
A space for Bonfire maintainers and contributors to communicate