add initial process support

If this map is static, wouldn't it be better outside the type function?  (not that it's much speed difference, luajit will do a table duplicate instead of referencing the upvalue).