The router is written in pure Lua and can run in Lua interpreter(>= 5.2). The Router can also run in LuaJIT for the best performance since the util functions will switch to the JIT version if possible.
For those interested:
https://github.com/vm-001/lua-radix-router
I'm currently adding more and more real-world user cases for the Router. See https://github.com/vm-001/lua-radix-router-use-cases