how to edit/create .lua,.luac script?

r4nx

Известный
Друг
201
266
Lua code is executed in 2 stages: compiling and interpreting (that called JIT compilation). Firstly source code is compiled to Lua virtual machine bytecode and then gets interpreted.
lua is source code file, you can freely edit it with your favourite editor (i prefer Notepad++ personally). luac is a bytecode file, you should use hex editor (such as HxD) to edit VM's opcodes.
 
Последнее редактирование:

ImPasha

Software Developer & System Administrator
Друг
1,778
2,142