Hi FreeDOS devel people,
as I was wondering "how small is that popular newish
scriptish language, Lua, in DOS?" recently, Rugxulo
put together a few files. Maybe you want to test :-)
Old Lua 4.0 in a 16 bit version:
A test suite, see http://www.lua.org/tests/5.2/#basic is:
And fresh Lua 5.2.1 as DOS exe (94 kB UPXed) is at:
This answers a size question. Lite Rexx is smaller?
Some example Lua one-liners:
lua -e "print(42*42)"
lua -e "os.execute(\"mem /c\")"
The latter shows circa 445 kB free for Lua in DOSEMU
after Lua itself consuming 178 kB, Rugxulo says :-)
Another interesting question would be how 16- and 32-bit
compiles with OpenWatcom and DJGPP compare in performance.