Run
$ luac hello.lua
(generate luac.out, luac is built with lua-5.3.3 and MinGW)
$ ruby -v
ruby 2.2.6p396 (2016-11-15 revision 56800) [i386-mingw32]
$ ruby mlua.rb hello.lua
"Hello world, from ", nil, "!\n"
('luac.out' is written constantly in state.rb)