Generated pseudo-code for processing tables