write the son program and symbol tabel