A basic syntax/sanity checker and peephole optimizer for SPARC assembly language