Categories > Exploiting > Roblox >

How does bytecode Transpiler work?

Luau

Luau

Posts: 132

Threads: 25

Joined: May, 2022

Reputation: -32

Posted

How does bytecode Transpiler work? Does it compile into bytecode? I'm studying so I can make one. 

  • 0

Luau

Kiko

Fake it 'till you make it

Posts: 23

Threads: 5

Joined: Mar, 2022

Reputation: 3

Replied

bytecode transpiler will convert one bytecode format to another format.

I.e Luau transpilers will first compile your script into Lua5.1 bytecode (Usually, could be anything else too) and later on covert it to Luau bytecode.

A downside to using transpilers now that Luau compiler is open-sourced is that whenever roblox updates the bytecode format you will have to find what is updated and rewrite some parts of the transpiler. It's not worth it since most syntax related changes in Luau are hard to replicate. You can still replicate them but they would require changes in your Lua5.1 source code and your transpiler too.

 

I would not recommend you to transpile, use Luau compiler instead.

  • 0

https://yesitskiko.github.io/about-me/

I've got a PHD in Scratch.

Posts: 1

Threads: 0

Joined: Jun, 2022

Reputation: 0

Replied

Thanks for the advice. I am currently trying to get a job in a technology company and this information and this tool should be important to me. I read several useful articles on https://artscolumbia.org/free-essays/internship/ about internships, their role in corporate culture, and how to successfully complete them.

  • 0

Users viewing this thread:

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