<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Improve binding generator organization"
   href="https://bugs.webkit.org/show_bug.cgi?id=162055#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Improve binding generator organization"
   href="https://bugs.webkit.org/show_bug.cgi?id=162055">bug 162055</a>
              from <span class="vcard"><a class="email" href="mailto:youennf&#64;gmail.com" title="youenn fablet &lt;youennf&#64;gmail.com&gt;"> <span class="fn">youenn fablet</span></a>
</span></b>
        <pre>The python generators have a more modular approach. Maybe this could be a source of inspiration.

There might be some initial steps we could do like:
- Have separate files for generating headers, generating sources and common utilities
- Further split into dedicated files for specific generation steps like constructor generation
- Have specific dedicated steps, like a single place where all includes would be done for headers, another for the sources includes.
- Extract the template CPP code to some places so that the script logic is easier to understand

It may also help if we would like to switch progressively to python for this code generator.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>