<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">import edu.cornell.cs.sam.io.SamTokenizer;

interface Compiler{
        /**
         * Compiles whatever it can get from the SamTokenizer
         * and returns a SaM program as a String
         * @param s A SamTokenizer loaded with the code to compile
         * @return The SaM equivalent of the input program
         * @throws TokenizerException When there is a problem with parsin
         */
        String compile(SamTokenizer s) throws IllegalBaliException;
}
</pre></body></html>