have finally created an effective method of printing the cst and ast. am working on hunting down bugs in cst conversion and semantic analysis now