HomeForumSourceResearchGuide
Sign in to contribute to source. how it works
Component util.Compiler by barry
expand copy to clipboardexpand
interface CompilerLib {
	void setSearchPaths(String paths[])
	CompileResult compile(char sourceName[], char sourceCode[])
	}

component provides Compiler requires native CompilerLib lib {
	
	void Compiler:setSearchPaths(String paths[])
		{
		lib.setSearchPaths(paths)
		}
	
	CompileResult Compiler:compile(char sourceName[], char sourceCode[])
		{
		return lib.compile(sourceName, sourceCode)
		}
	
	}
Revision history
To propose a new revision to this entity, use dana source put -uc your/new/version.dn -n util.Compiler -m "reason for update" -u yourUsername
Version 9 by barry
Version 8 by barry
Version 7 by barry
Version 6 by barry
Version 5 by barry
Version 4 by barry
Version 3 by barry
Version 2 by barry
Version 1 (this version) by barry
Notes for this version: Standard Library Initialisation