public Program createProgram(String programName, Language language, CompilerSpec compilerSpec)
			throws Exception {
		Program program = new ProgramDB(programName, language, compilerSpec, this);
		openProgram(program);
		program.release(this);
		return program;
	}
Creates a new program with specified name and language. It uses the default compilerSpec
for the given language.
<p>
Please note: the program is not automatically saved into the project.

@param programName the program name
@param language the language
@param compilerSpec the compilerSpec to use.
@return the new unsaved program
@throws Exception the language name is invalid or an I/O error occurs
Ghidra/Features/Base/src/main/java/ghidra/app/script/GhidraScript.java