Pierre Chapuis · @catwell
103 followers · 56 posts · Server framapiaf.org

is 30 years old (and I've been using it for 16!)

lua-users.org/lists/lua-l/2023

#lualang

Last updated 1 year ago

André-LA 🎀 gamedev · @Andre_LA
238 followers · 618 posts · Server mastodon.gamedev.place

Okay, seems that visual scripting it's asynchronous, based on events and callbacks instead of a control flow that happens on a "Update" function.

Coincidentally, also does this and both uses scripting.

After reading the Randy Gaul's article* about co-routines, I've being more open to the ideia of using asynchronous programming, maybe I should adopt async gameplay for my next games.

*co-routines article: randygaul.github.io/cute_frame

#o3de #defold #lualang

Last updated 1 year ago

tajpulo · @tajpulo
29 followers · 60 posts · Server typo.social

One of the projects to consider for is . It was written by @simoncozens and currently mostly developed by Caleb Maclennan. It features a Teχ like custom markup language and is written in . It is MIT licensed. So it uses a line-breaking algorithm implementation in . Examples are shown on a website:

sile-typesetter.org/examples/

only outputs . Most recently it also got support for mathematical formulas. It is said to work great for grid typesetting.

#digitaltypesetting #sile #lualang #pdf

Last updated 1 year ago

Hisham · @hisham_hm
1633 followers · 4999 posts · Server mastodon.social

now here's a long shot:

do I know* anybody in Casablanca or Marrakech?

I'm flying to Morocco tonight, going to spend a few days in these cities!

(* for a very broad definition of "know" which includes "hey, you don't know me but let's have a coffee and talk open source or whatever")

#lualang #htop

Last updated 1 year ago

Estou há dias querendo adiantar certas coisas do trabalho, mas não pude pq eu precisaria de e isso é difícil de instalar no (a única solução "fácil" envolvia usar um projeto antigo - e que hoje está sem desenvolvedores - e instalar uma versão velha que poderia gerar conflitos no futuro com outras aplicações. Só agora me ocorreu instalar uma . 🤡

#lualang #windows #maquinavirtual #linux

Last updated 2 years ago

pandoc · @pandoc
1537 followers · 182 posts · Server fosstodon.org

We've made it easier to use the interpreter in 3: calling `pandoc lua` (or invoking pandoc via a symlink named `pandoc-lua`) lets pandoc behave like the default `lua` binary, but with all of pandoc's libraries loaded. E.g.,

echo 'print(PANDOC_VERSION)' | pandoc lua

prints the version, and

pandoc lua script.lua

runs the given script.

pandoc.org/MANUAL#running-pand

#lua #pandoc #lualang

Last updated 2 years ago

Michal :verified: · @michal
100 followers · 1394 posts · Server toot.kottman.xyz

It turns out the discontinued Lytro lifghtfield camera has Lua console available in its firmware.

github.com/ea/lytro_unlock

#lytro #lua #lualang

Last updated 2 years ago

pandoc · @pandoc
1367 followers · 168 posts · Server fosstodon.org

The changelog for this monster release is over 1000 lines long. Highlights:
- `pandoc lua` works as a interpreter;
- `pandoc server` starts as a server;
- The new "chunkedhtml" format generates paged, book-like output;
- Support for [[wikilinks]] and ==highlighting== in (both hidden behind extensions);
- Better support for complex ;
- list tables for output;
- and much more.

#lualang #pandoc #markdown #figures #restructuredtext

Last updated 2 years ago

Hisham · @hisham_hm
1522 followers · 4899 posts · Server mastodon.social

Every now and then I think about all the various attempts at a macro system for , and how they all "failed" (as in "didn't catch on")...

...and I *think* that a main reason is because of the poor ergonomics of having a third-party macro system on top of a dynamic language. Which tempts me a lot the possibiltiy of adding a (hygienic) macro system to Teal 🤔

Could also help turning the common Luaism of "write this ugly pattern instead for performance" into "use this macro instead"... 🤔 🤔

#lualang

Last updated 2 years ago

Hisham · @hisham_hm
1513 followers · 4881 posts · Server mastodon.social

Cautiously adding a new feature to Teal (my statically-typed extension to ): a <total> annotation, to indicate that map values with enum keys need to have all their members defined.

Adding this to the compiler caught 3 different bugs, where I had added a new entry to an enum but forgot to add the appropriate handlers to the map. (One of the bugs was the motivator for the feature: "the compiler should have caught this!")

github.com/teal-language/tl/pu

#lualang

Last updated 2 years ago

· @leafo
1204 followers · 42 posts · Server mastodon.social

First release of 2023, Lapis 1.12 is now here: leafo.net/lapis/changelog.html

Highlights:
* New validation framework leafo.net/lapis/reference/inpu
* Rewritten command line tool with improved multi-language file generators for Lua and MoonScript leafo.net/lapis/reference/comm

#lualang #moonscript

Last updated 2 years ago

· @leafo
1194 followers · 41 posts · Server mastodon.social

Coming in Lapis 1.12 is the brand new validation framework based on tableshape. You can preview the docs here: leafo.github.io/lapis-site/ref

Any feedback appreciated. Looking to launch the new version very soon.

#lualang #moonscript

Last updated 2 years ago

pikuma · @pikuma
320 followers · 162 posts · Server mastodon.gamedev.place

"Interesting things about the Lua interpreter"

Link: thesephist.com/posts/lua/

#lualang

Last updated 2 years ago

Joshua Skelton · @joshuaskelly
291 followers · 110 posts · Server mastodon.gamedev.place

Looking for some help regarding finalizing userdata. Sometimes I'd like Lua to clean up, and sometimes not.

In the below example if I new up a texture userdata, I want Lua to gc it.

If I ask my asset database for a texture, I want Lua to leave it alone.

Any pointers/advice appreciated.

#lualang

Last updated 2 years ago

Juan · @jbzfn
191 followers · 1089 posts · Server mastodon.social

#lua #lualang #gamedev

Last updated 2 years ago

Joshua Steven Grant · @jostgrant
12 followers · 79 posts · Server fosstodon.org

Not to undermine the benefits of a super fast compiler though .... because really does help; the little I've done in has been super enjoyable just how quickly that thing craps out an executable. lol

But there's something magical (maybe some would argue with the potential of retained state, it's dark magic xD) about being in a game-loop saving a file and magically things just change in-kind / on-time tough. I think it's why actually is becoming one of my favorite langs.

#gamedev #golang #lualang

Last updated 2 years ago

pikuma · @pikuma
278 followers · 138 posts · Server mastodon.gamedev.place

Most students don't know that we have a series of lectures focusing on the .

You'll learn *everything* and explore how to integrate Lua with your native C & C++ apps.

Visit the course page:
pikuma.com/courses/learn-lua-s

See you inside! 🧉 😉

#lua #lualang

Last updated 2 years ago

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

#peek #gifine #lualang #luarocks

Last updated 2 years ago

Joshua Steven Grant · @jostgrant
8 followers · 26 posts · Server fosstodon.org

I'm actually really hopeful how competitive could / would be for beginners if it was more visually appealing. It's already got a big foot up on in a few spaces beginners tend to eye / get excited about -- namely game-programming / scripting. And yeah, Python can be used in theses spaces but "at what cost" lol. Plus there's already very established ecosystems like & obviously.

#lualang #python #ComputerCraft #gmod

Last updated 2 years ago

Joshua Steven Grant · @jostgrant
8 followers · 26 posts · Server fosstodon.org

Limiting in-that it forces you to fairly closely follow the semantics and also just general the conventions of the language.

at it's core, is a really simple / powerful lang and most of my issues come from it feeling "aesthetically clunky". Short keywords really help to establish this feeling of being lightweight & even easy to learn. It's like THE reason, sadly, (imho) why Python is viewed to be a lighter / easier language to learn.

#lualang

Last updated 2 years ago