export VALUE accessor
compute indices for lexicals and externals