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

uvie

Известный
Автор темы
273
54
Can someone say? i tried Notepad++ but it's fucked up for me symbollls.
 

r4nx

Известный
Друг
201
265
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,788
2,145