Add ENV table for closure, and generate Chunk AST to closure.