Okay, seems that #o3de visual scripting it's asynchronous, based on events and callbacks instead of a control flow that happens on a "Update" function.
Coincidentally, #Defold also does this and both uses #Lualang 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: https://randygaul.github.io/cute_framework/#/topics/coroutines
One of the projects to consider for #DigitalTypesetting is #SILE. It was written by @simoncozens and currently mostly developed by Caleb Maclennan. It features a Teχ like custom markup language and is written in #LuaLang. It is MIT licensed. So it uses a line-breaking algorithm implementation in #LuaLang. Examples are shown on a website:
https://sile-typesetter.org/examples/
#SILE only outputs #PDF. Most recently it also got support for mathematical formulas. It is said to work great for grid typesetting.
#digitaltypesetting #sile #lualang #pdf
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")
Estou há dias querendo adiantar certas coisas do trabalho, mas não pude pq eu precisaria de #lualang e isso é difícil de instalar no #windows (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 #máquinavirtual #Linux. 🤡
#lualang #windows #maquinavirtual #linux
We've made it easier to use the #Lua interpreter in #pandoc 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.
#LuaLang
https://pandoc.org/MANUAL#running-pandoc-as-a-lua-interpreter
It turns out the discontinued Lytro lifghtfield camera has Lua console available in its firmware.
The changelog for this monster release is over 1000 lines long. Highlights:
- `pandoc lua` works as a #LuaLang interpreter;
- `pandoc server` starts #pandoc as a server;
- The new "chunkedhtml" format generates paged, book-like output;
- Support for [[wikilinks]] and ==highlighting== in #Markdown (both hidden behind extensions);
- Better support for complex #figures;
- list tables for #reStructuredText output;
- and much more.
#lualang #pandoc #markdown #figures #restructuredtext
Every now and then I think about all the various attempts at a macro system for #LuaLang, 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"... 🤔 🤔
Cautiously adding a new feature to Teal (my statically-typed extension to #LuaLang): 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!")
First release of 2023, Lapis 1.12 is now here: https://leafo.net/lapis/changelog.html
Highlights:
* New validation framework https://leafo.net/lapis/reference/input_validation.html
* Rewritten command line tool with improved multi-language file generators for Lua and MoonScript https://leafo.net/lapis/reference/command_line.html
Coming in Lapis 1.12 is the brand new validation framework based on tableshape. You can preview the docs here: https://leafo.github.io/lapis-site/reference/input_validation.html
Any feedback appreciated. Looking to launch the new version very soon.
Looking for some #lualang 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.
:blobwizard: "Why Is Lua Popular for Game Development and How Do You Use It?"
#Lua #Lualang #Gamedev
https://www.makeuseof.com/why-is-lua-popular-for-game-development-how-to-use/?utm_source=pocket_mylist
Not to undermine the benefits of a super fast compiler though .... because really does help; the little #gamedev I've done in #golang 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 #LuaLang actually is becoming one of my favorite langs.
Most students don't know that we have a series of lectures focusing on the #LuaLang.
You'll learn *everything* #Lua and explore how to integrate Lua with your native C & C++ apps.
Visit the course page:
https://pikuma.com/courses/learn-lua-scripting-language-roblox
See you inside! 🧉 😉
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.
#peek #gifine #lualang #luarocks
I'm actually really hopeful how competitive #LuaLang could / would be for beginners if it was more visually appealing. It's already got a big foot up on #Python 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 #Computercraft & #GMod obviously.
#lualang #python #ComputerCraft #gmod
Limiting in-that it forces you to fairly closely follow the semantics and also just general the conventions of the language.
#LuaLang 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.