private void compile(File compile) {
		ProcessBuilder grammarBuilder = new ProcessBuilder("/bin/tcsh", "compile");
		grammarBuilder.directory(compile);
		
		try {
			Process phoenix =grammarBuilder.start();
			BufferedReader stderr2 = new BufferedReader(new InputStreamReader(phoenix.getErrorStream()));
			String phoenixLine2 = null;
			  
		  	while ((phoenixLine2 = stderr2.readLine()) != null && (!phoenixLine2.equals("READY"))) {
		  		stderr2.close();
		  		phoenix.destroy();
		  		compile(compile);
		  	}
		} catch (IOException e) {
			e.printStackTrace();
		}
	}