Is pairs() compiled in luajit?
Can't find a reliable source about this. As I remember correctly in luajit 2.0 it can't be compiled and used in interpreter mode. What is the current state of
https://redd.it/1gewkz0
@r_lua
Can't find a reliable source about this. As I remember correctly in luajit 2.0 it can't be compiled and used in interpreter mode. What is the current state of
pairs() in latest luajit?https://redd.it/1gewkz0
@r_lua
Reddit
From the lua community on Reddit
Explore this post and more from the lua community
all LUA noscripts will lose after changing windows ?
i have like 18 lua currently in desktop default just wondering what happens to them after changing windows are they saved in logitech account or i must export all ?
https://redd.it/1gf2hfs
@r_lua
i have like 18 lua currently in desktop default just wondering what happens to them after changing windows are they saved in logitech account or i must export all ?
https://redd.it/1gf2hfs
@r_lua
Reddit
From the lua community on Reddit
Explore this post and more from the lua community
Finding better syntax : conditional statement
[ ideal \]
[ my code \]
Can I make this better?
https://redd.it/1gfjjww
@r_lua
[ ideal \]
if temp_id == ['57', '61', '62'] then[ my code \]
if temp_id == '57' or temp_id == '62' or temp_id == '63' then Can I make this better?
https://redd.it/1gfjjww
@r_lua
Reddit
From the lua community on Reddit
Explore this post and more from the lua community
Finding better syntax : string.match
Note that, my IDE doesn't support return value of Boolean but only String.
< ideal >
but above code doesn't work due to the limited support by IDE
so I have to use like this :
To deal with this, is there a better idea to do this? such as..
https://redd.it/1gfjic6
@r_lua
Note that, my IDE doesn't support return value of Boolean but only String.
< ideal >
if string.match(self.Entity.CurrentMapName, 'idle|proklisi') == thenbut above code doesn't work due to the limited support by IDE
so I have to use like this :
if string.match(self.Entity.CurrentMapName, 'idle') = 'idel' or ~ ... thenTo deal with this, is there a better idea to do this? such as..
if string.match(self.Entity.CurrentMapName, 'idle|proklisi') == ('idle' or 'proklisi') thenhttps://redd.it/1gfjic6
@r_lua
Reddit
From the lua community on Reddit
Explore this post and more from the lua community
فك تشفير
يخوان احد يعرف كيف افك تشفير fxap ؟
سكربت fivem
Do you know how to decrypt fxap?
Sicript Fivem
https://redd.it/1gfovfw
@r_lua
يخوان احد يعرف كيف افك تشفير fxap ؟
سكربت fivem
Do you know how to decrypt fxap?
Sicript Fivem
https://redd.it/1gfovfw
@r_lua
Reddit
From the lua community on Reddit
Explore this post and more from the lua community
Beginer help: string
I'm totally new at coding and I got assigment to capitalize the first letters of the words in sentence. I don't understand how to do it.
If someone could tell me how to do that I would be grateful.
The sentence is "Is your dog's house red?"
https://redd.it/1gfry7u
@r_lua
I'm totally new at coding and I got assigment to capitalize the first letters of the words in sentence. I don't understand how to do it.
If someone could tell me how to do that I would be grateful.
The sentence is "Is your dog's house red?"
https://redd.it/1gfry7u
@r_lua
Reddit
From the lua community on Reddit
Explore this post and more from the lua community
luarocks interpreter
I tried using luarocks but since I use lua5.1 I got this error
Error: Lua 5.4 interpreter not found at C:\Program Files\to\lua
Please set your Lua interpreter with:
luarocks --local config variables.LUA <d:\path\lua.exe>
I tried these
luarocks config variables.LUA <C:\Program Files\lua\lua5.1.exe>
luarocks config variables.LUA "C:\Program Files\lua\lua.exe"
and many more
whenever i type luarocks config variables.LUA
Error: Unknown entry LUA
i already have lua set in the evir
how would i be able to fix it?
https://redd.it/1gfsma9
@r_lua
I tried using luarocks but since I use lua5.1 I got this error
Error: Lua 5.4 interpreter not found at C:\Program Files\to\lua
Please set your Lua interpreter with:
luarocks --local config variables.LUA <d:\path\lua.exe>
I tried these
luarocks config variables.LUA <C:\Program Files\lua\lua5.1.exe>
luarocks config variables.LUA "C:\Program Files\lua\lua.exe"
and many more
whenever i type luarocks config variables.LUA
Error: Unknown entry LUA
i already have lua set in the evir
how would i be able to fix it?
https://redd.it/1gfsma9
@r_lua
Reddit
From the lua community on Reddit
Explore this post and more from the lua community
Help for the structure
Hi!
For a project, I need to create Lua noscript to communicate with an haxe application. However, I struggle heavily to make the IDE for Lua work with classes. The class definitions are not shared with the instances and it makes coding a pain.
Is there a better way or text-editor to make the development easier?
Thank you!
https://preview.redd.it/qo6xeuasm4yd1.png?width=244&format=png&auto=webp&s=aa88447dcae142d2cb92f652d00465ffce317ae2
https://redd.it/1ggk2zp
@r_lua
Hi!
For a project, I need to create Lua noscript to communicate with an haxe application. However, I struggle heavily to make the IDE for Lua work with classes. The class definitions are not shared with the instances and it makes coding a pain.
Is there a better way or text-editor to make the development easier?
Thank you!
https://preview.redd.it/qo6xeuasm4yd1.png?width=244&format=png&auto=webp&s=aa88447dcae142d2cb92f652d00465ffce317ae2
https://redd.it/1ggk2zp
@r_lua
So what now?!
HI! i coded with python for about 10 months now but the performance was "not good" (Terrible) and I searched for over 1 month now for coding languages and devided for lua so.
1st: what do you need to start coding (windows)
2nd:any good tutorials on youtube (full guide) that arent over 3 years old?
https://redd.it/1gh8r3k
@r_lua
HI! i coded with python for about 10 months now but the performance was "not good" (Terrible) and I searched for over 1 month now for coding languages and devided for lua so.
1st: what do you need to start coding (windows)
2nd:any good tutorials on youtube (full guide) that arent over 3 years old?
https://redd.it/1gh8r3k
@r_lua
Reddit
From the lua community on Reddit
Explore this post and more from the lua community
HOW ROBLOX EVEN EXISTS
Hey guys rapid question:
HOW DOES ROBLOX EVEN EXISTS
It was made in the first years of 2000, so I don't think they used OpenGL or Frameworks, so PLEASE GIVE ME AND EXPLANATION ON HOW ROBLOX WORKS
https://redd.it/1gh8qbs
@r_lua
Hey guys rapid question:
HOW DOES ROBLOX EVEN EXISTS
It was made in the first years of 2000, so I don't think they used OpenGL or Frameworks, so PLEASE GIVE ME AND EXPLANATION ON HOW ROBLOX WORKS
https://redd.it/1gh8qbs
@r_lua
Reddit
From the lua community on Reddit
Explore this post and more from the lua community
The best way to learn Lua
https://exercism.org/tracks/lua/exercises :0
idk why i even posted this
https://redd.it/1ghecia
@r_lua
https://exercism.org/tracks/lua/exercises :0
idk why i even posted this
https://redd.it/1ghecia
@r_lua
Exercism
Lua exercises on Exercism
Explore the 111 Lua exercises on Exercism
Roblox Studio (that uses lua noscript for noscripting games) just added ability to add comments to functions
https://www.youtube.com/watch?v=bII-FIL2w-E
https://redd.it/1ghfrlb
@r_lua
https://www.youtube.com/watch?v=bII-FIL2w-E
https://redd.it/1ghfrlb
@r_lua
YouTube
ROBLOX drops new USEFUL studio update for LUA noscript devs
New ROBLOX Studio update is here for LUA developers! You can now add comments to functions in roblox studio (lua noscript) and style them using SOME available html tags.
Dev forum: https://devforum.roblox.com/t/new-noscript-editor-hover-tips-and-user-defined…
Dev forum: https://devforum.roblox.com/t/new-noscript-editor-hover-tips-and-user-defined…
I manage to embed lua vm to my project!
Hey Lua community! I wanted to share a project I've been working on called RapidForge, it platform for building internal apps, automating tasks and creating web pages. Everything comes with a single binary and I manage to embed Lua VM into RapidForge. Big thanks to the Cosmopolitan project for making this possible!
With RapidForge, you can easily set up webhooks, schedule periodic tasks, and implement custom business logic using Lua. The platform takes care of the boilerplate for you, parsing request data automatically and making it available as environment variables (I’m planning to improve this further).
Lua is amazing language, I think its also a perfect language to experiment its small but performant and very easy to learn.
https://redd.it/1ghh7z7
@r_lua
Hey Lua community! I wanted to share a project I've been working on called RapidForge, it platform for building internal apps, automating tasks and creating web pages. Everything comes with a single binary and I manage to embed Lua VM into RapidForge. Big thanks to the Cosmopolitan project for making this possible!
With RapidForge, you can easily set up webhooks, schedule periodic tasks, and implement custom business logic using Lua. The platform takes care of the boilerplate for you, parsing request data automatically and making it available as environment variables (I’m planning to improve this further).
Lua is amazing language, I think its also a perfect language to experiment its small but performant and very easy to learn.
https://redd.it/1ghh7z7
@r_lua
rapidforge.io
RapidForge | Low-Code Platform for Apps, Automation & Web Development
Build internal tools, automate workflows and create web pages with RapidForge. Ideal for developers, DevOps and SOAR teams seeking a low code solution.
A boostraped Lua Compiiler (create executables and embed stuff on native binaries)
https://github.com/OUIsolutions/Darwin
https://redd.it/1gi5nrd
@r_lua
https://github.com/OUIsolutions/Darwin
https://redd.it/1gi5nrd
@r_lua
GitHub
GitHub - OUIsolutions/Darwin: A Boostrapped lua Compiler
A Boostrapped lua Compiler. Contribute to OUIsolutions/Darwin development by creating an account on GitHub.
Why did this regex fail?
why did
https://redd.it/1gja380
@r_lua
why did
print(("PascalCase"):match("^(%u%l+)+")) returns nil while ^([A-Z][a-z]+)+ in pcre2 works.https://redd.it/1gja380
@r_lua
Reddit
From the lua community on Reddit
Explore this post and more from the lua community
Making a synth
I am a beginner programmer and I decided that I want to try and make my own synthesizer as a project. I know it might not be best for a beginner but I don’t have a time limit or anything, it’s just something I want to try. My question is: I was looking at different programming languages and stumbled upon Lua. So I’m wondering whether a project like that is worth making in Lua(as in if there are any problems I will encounter ) or should I do it in a different language?
https://redd.it/1gjstnj
@r_lua
I am a beginner programmer and I decided that I want to try and make my own synthesizer as a project. I know it might not be best for a beginner but I don’t have a time limit or anything, it’s just something I want to try. My question is: I was looking at different programming languages and stumbled upon Lua. So I’m wondering whether a project like that is worth making in Lua(as in if there are any problems I will encounter ) or should I do it in a different language?
https://redd.it/1gjstnj
@r_lua
Reddit
From the lua community on Reddit
Explore this post and more from the lua community
I made a Banner Designer (Or presentation card maker) in Lua for the terminal
https://redd.it/1gk75we
@r_lua
https://redd.it/1gk75we
@r_lua
Tiny Typing Utility Library
Hello y'all, I'm here to share a small lib I made for my own convenience and I think it might be useful to more people:
https://github.com/VicCAlq/moonkind
This is a simpler alternative to people who want the safety of a typing system but might not want to deal with using a language that compiles/transpiles to Lua or has any other kind of build step. I still want to work more on the feature of matching an "object's shape", but at the current point it can already be used.
It's already available on LuaRocks as
Any feedback is more than welcome :D
https://redd.it/1gkp0vf
@r_lua
Hello y'all, I'm here to share a small lib I made for my own convenience and I think it might be useful to more people:
https://github.com/VicCAlq/moonkind
This is a simpler alternative to people who want the safety of a typing system but might not want to deal with using a language that compiles/transpiles to Lua or has any other kind of build step. I still want to work more on the feature of matching an "object's shape", but at the current point it can already be used.
It's already available on LuaRocks as
moonkind, so a simple luarocks install moonkind suffices.Any feedback is more than welcome :D
https://redd.it/1gkp0vf
@r_lua
GitHub
GitHub - VicCAlq/moonkind: Simple type assertions for your Lua projects
Simple type assertions for your Lua projects. Contribute to VicCAlq/moonkind development by creating an account on GitHub.