User Tools

Site Tools


padl_creator_c_eclipse

PADL Creator C++ (Eclipse)

Using the CDT provided on top of Eclipse, this project provides a means to create a PADL model from C/C++ source code. Fetch the project PADL Creator C++ (Eclipse) from the SVN and use the usual idiom:

try {
	final ICodeLevelModelCreator creator =
		new padl.creator.cppfile.eclipse.CPPCreator(aSourceDirectory);
	codeLevelModel =
		CPPFactoryEclipse.getInstance().createCodeLevelModel(aName);
	codeLevelModel.create(creator);
}
catch (final CreationException e) {
	e.printStackTrace(ProxyConsole.getInstance().errorOutput());
}

:!: The padl.generator.helper.ModelGenerator interface in project PADL Generator hides the implementation details of creating a PADL model and should be used in most of the cases.

padl_creator_c_eclipse.txt · Last modified: 2017/09/06 01:54 (external edit)