swig: reconstruct input files
swig/lua: lua support wip