How about lua does not have an operator to do xor or two integers? Seriously! Once I tried to write a wireshark plugin and used lua and found out I had to implement my own xor function! Stupidest thing I have done...
It comes standard as part of LuaJIT, which is likely what should be used for anything like a wireshark plugin (I don't know what wireshark actually uses, but LuaJIT is a drop-in replacement for the most part).
Bitop (or something similar) is included in Lua 5.2 as well.
http://lua-users.org/lists/lua-l/2002-09/msg00134.html
If you can load a C extension module then there's:
Yes Lua is that small.