Luau Decompiler (for bytecode version 3) #955
atrexus
started this conversation in
Show and tell
Replies: 1 comment 4 replies
-
I just tested this simple script and here was the result for anyone wondering: Input (compiled on optimization level 0) local message = "Hello"
local time = os.clock()
print(`message {time}`) Output -- Unluau v0.0.2-alpha guid: 6d3eda7a-9fdf-4e32-b157-df2653ded023
local "Hello" = "Hello"
local var3 = os.clock()
local var6 = "message %*":format(var3)
print(var6) Obviously it's in beta but I only see two issues so far which are the quotations around the variable naming and how the var numbers don't really make sense. Converting the %* string format into the string interpolation format would leave a cleaner output as well, but it would function the same way. I can try with a larger script later but it looks decent right now. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am not sure if this is the right place to post this, but I have been working on a Luau decompiler and thought it would be a cool idea to share it on the official Luau discussion board. It's written in .NET and required an extensive understanding of the Luau bytecode format.
The latest source code is available here (v0.0.3-alpha). I would love some feedback!
Beta Was this translation helpful? Give feedback.
All reactions