SPEC
SPEC copied to clipboard
No macros lite
This is a first step in removing macros in SPEC. The source remains to be cleaned up:
- use -Wunused-variable gfortran option to see unused variables and remove them
- use fprettify to ensure consistent formatting
Hi, is there any progress on this? Sorry to revive a dead PR, but this kind of refactor would make it easier for somebody new to the codebase (like me) to understand the program and contribute 😇
Hi, is there any progress on this? Sorry to revive a dead PR, but this kind of refactor would make it easier for somebody new to the codebase (like me) to understand the program and contribute 😇
Not since then - got stuck in certain other projects in the mean time. I would strongly support to continue this. Suggested steps:
- keep the setup as-is and adjust the code generators in
macrosto provide more-or-less readable code - check the auto-generated one - once the auto-generated code looks fine, migrate the generated files to be the main source code files
- clean them up locally - remove unused
usingstatements and dead variables