<table><tr><td style="">tcanabrava edited the summary of this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-gqwmuprf2ol764k/">(Show Details)</a>
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D26202">View Revision</a></tr></table><br /><div><strong>CHANGES TO REVISION SUMMARY</strong><div><div style="white-space: pre-wrap; color: #74777D;"><div style="padding: 8px 0;">...</div>This code tries to Separate the compiler code into many different files / classes to be more obvious what's happening, and each class also has many helper methods to minimize copypaste.<br />
<br />
<span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);"><br />
- </span> CodeGenerator: Has base code for the header and source files that can be shared<br />
<span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">- </span> HeaderGenerator: Logic for generating the header file<br />
<span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">- </span> SourceGenerator: Logic for generating the source file<br />
<span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">- </span> KcfgParser: Logic for parsing the kcfg file and extracting the information<span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);"> from the Xml file</span><br />
<span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">- </span> CommonStructs: a header that contains the structs that are currently used everywhere.<br />
<span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">- </span> KConfigParameters: (was CfgConfig - ConfigConfig, wat) - Has information passed via the kcfgc file<br />
<span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">- </span> kcfg_compiler - will be renamed to main - start the other classes and generates the files.<span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);"><br />
</span><br />
<br />
This code here currently has the begining of this separation, with the CodeGenerator and the HeaderGenerator in a ~good~ state, but unfinished.</div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R237 KConfig</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D26202">https://phabricator.kde.org/D26202</a></div></div><br /><div><strong>To: </strong>tcanabrava, Frameworks, ervin, bport<br /><strong>Cc: </strong>ngraham, kde-frameworks-devel, LeGast00n, GB_2, michaelh, bruns<br /></div>