public interface Backend {
void invoke(List
args, List sources);
}
•STEPS
•1. Write
a class that implements Backend
•2.
Write the method invoke() in that class
–define the arguments
–design necessary visitors
•3.
Write visitors to traverse the ASTs
•4.
Add flags to the compiler command-line