Basically now I generate block id's dynamically as the block is fed into the symtab. This lets me keep full track of the activation records and scope correctly. What i need in return is for someone to feed me blocks. Right now we feed statement lists, and this is all well and good, but it would be a lot easier for me if the ast/parser could package things as block{locals, statements} instead of keeping them separate, i.e. function{name,return,formals,block} instead of
function{name,return,formals,locals,statements}.