Either that, or the Lua implementation will grow larger and larger as each of our feature requests mine included are added. I could change the pullup configuration by setting the control registers if I had direct access to the control registers from Lua, and a new command would not be needed.
However, to make use of direct access to memory locations, bitwise operation will also be necessary. I see these are in Lua 5.2 but not in 5.1. I wondered where they got to.
Fortunately, there are some libraries we can use.
Great work on Lua so far. It is super useful. Thank you for all of your work and responsiveness.