get compilable select parser without test