Add semantic analyzer to console compiler.