public IProject Parse(ProjectPath Path, ICompilerLog Log) { if (Path.HasExtension("ecs") || Path.HasExtension("cs") || Path.HasExtension("les")) { return new SingleFileProject(Path, Log.Options.GetTargetPlatform()); } else { return DSProject.ReadProject(Path.Path.Path); } }