Resources | Resources |



Output generation

The qidlscript compiler generates a single Lua file for each IDL file specified on the command line. The Lua file contains the following:

  • Bindings for all modules and constants specified in the IDL file
  • Lua stub and skel implementations for each interface

You can use the -b or --batch options to create a single Lua file that contains the bindings for all the IDL files listed on the command line.

The stub allows Lua scripts to communicate with objects in foreign domains by marshaling Lua data structures and using the Services remote invocation infrastructure. The skel is symmetric to the stub and gives objects implemented in foreign domains the ability to communicate with objects implemented in Lua.