#nelua — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #nelua, aggregated by home.social.
-
Lua has many dialects, and I love them all ❤️
But how to write one lua-file and target them all?
Answer: metaprogrammingHere's a small ~700 bytes gpp-ish metaprogramming awk script 🎉
#lua #teal #nelua #redbean #esp32 #wasm #love2D #awk
ps. its not limited to lua :coolcat:
https://codeberg.org/coderofsalvation/meta.awk -
Lua has many dialects, and I love them all ❤️
But how to write one lua-file and target them all?
Answer: metaprogrammingHere's a small ~700 bytes gpp-ish metaprogramming awk script 🎉
#lua #teal #nelua #redbean #esp32 #wasm #love2D #awk
ps. its not limited to lua :coolcat:
https://codeberg.org/coderofsalvation/meta.awk -
That was hard, but I finally did it 😶
On LDtk, I only had support for number properties (like Money = 20), now properties of any type can be obtained.
Seems simple, but I had to write a json parser for this 😶.
Now, with this, I probably can resume the development of the game I was making hehe.
-
That was hard, but I finally did it 😶
On LDtk, I only had support for number properties (like Money = 20), now properties of any type can be obtained.
Seems simple, but I had to write a json parser for this 😶.
Now, with this, I probably can resume the development of the game I was making hehe.