<html>#2360: rdwr.pl parses generated cctk_Arguments header for information
<table style='border-spacing: 1ex 0pt; '>
<tr><td style='text-align:right'> Reporter:</td><td>Roland Haas</td></tr>
<tr><td style='text-align:right'>   Status:</td><td>new</td></tr>
<tr><td style='text-align:right'>Milestone:</td><td></td></tr>
<tr><td style='text-align:right'>  Version:</td><td></td></tr>
<tr><td style='text-align:right'>     Type:</td><td>bug</td></tr>
<tr><td style='text-align:right'> Priority:</td><td>major</td></tr>
<tr><td style='text-align:right'>Component:</td><td>Cactus</td></tr>
</table>

<p>Currently, in order to create <code>DECLARE_CCTK_ARGUMENTS_Foo</code> for Fortran code, the <code>rdwr.pl</code> script that is part of CST, parses the previously generated (Fortran / CPP) header file that is behind <code>cctk_Arguments.h</code> to obtain information on the variables and their types that need to be declared.</p>
<p>Since this seems to be very fragile and hard to maintain, it would not seem to be code of sufficient quality to be included in the Einstein Toolkit. Instead it would seem much better if the same Perl data that was used to initially generate <code>DECLARE_CCTK_ARGUMENTS</code> was also used to generate <code>DECLARE_CCTK_ARGUMENTS_Foo</code>.</p>
<p>--<br/>
Ticket URL: <a href='https://bitbucket.org/einsteintoolkit/tickets/issues/2360/rdwrpl-parses-generated-cctk_arguments'>https://bitbucket.org/einsteintoolkit/tickets/issues/2360/rdwrpl-parses-generated-cctk_arguments</a></p>
</html>