Well, I am not sure if this has been discussed but I have following situation :
A multi-processor system which is being controlled (or hosted) by either ARM core , STM32 or PIC32 which will be connected to PC. I have been asked to provide
scripting facility for each of the controller.
I am planning to just run Lua-VM on the micro-controllers and from PC send Lua chunk. then i can keep my script interface same for everyone. I am able to think of benefits in terms of common scripting interface and memory, will there be any limitation which i am not able to think right now?
Is there any repo which has only Minimum Lua available ( no parser , only VM)?
I created an itty-bitty tiny patch which essentially does the same
as noparser.c but via -DLUA_NO_PARSER instead of via an object file.
This patch also supports -DLUA_NO_DUMP and -DLUA_NO_UNDUMP as well.
Under Lua 5.3.4 I see a 15.5% reduction in the 'lua' binary when
both -DLUA_NO_PARSER and -DLUA_NO_DUMP are specified.
I just thought I would share this mini-patch in case others found it
easier to control these modules via compiler defines as well.
I am once again working on my patch site, sadly I missed my year-end
deadline due to a pretty terrible December. We are still recovering,
however, I am once again able to devote more time to Lua hacking!
 From 228.2k down to 192.8k (compiled under macOS 10.11.6)