Categories > Exploiting > Roblox >

How does Luau Compiling work?

Luau

Luau

Posts: 132

Threads: 25

Joined: May, 2022

Reputation: -32

Posted

How does Luau Compiling work? Does it convert it into instruction or what? (I need this for a compiler lol)

  • 0

Luau

Posts: 1

Threads: 0

Joined: Jun, 2022

Reputation: 0

Replied

Im not sure how it works but you can look into the source of roblox's luau online, it includes the compiler and such

 

https://github.com/Roblox/luau

  • 0

Posts: 0

Threads: 0

Joined: ?

Reputation:

Replied

The Luau Github has a Compiler implemented inside, that Compiler compiles input into loadable bytecode, which you can call through luau_load (if you want to use the Compiler on the Roblox Client, you gotta do some hacky stuff, like spawning it.)

The Compiler that they've implemented inside is what Roblox uses for their Studio Client and their Game Client. Pretty good in terms of performance. (Their Ast is wacky though.)

Lots of people use this Compiler for their own exploit, I have to admit even Misako uses Roblox's Compiler. It was lot's of peoples dream to make a Compiler that is 1:1 with Roblox's Compiler.

  • 0

Luau

Luau

Posts: 132

Threads: 25

Joined: May, 2022

Reputation: -32

Replied

@59576 Thanks for rep, and for the information.

  • 0

Luau

Users viewing this thread:

( Members: 0, Guests: 1, Total: 1 )