factor out sub quote unrolling code, add isa support
drwxr-xr-x lib
drwxr-xr-x t