Since ZDoom DECORATE lacks a robust preprocessor (it only supports #include), this attempts to fill in the gap. It might not do a good job, though.
a DECORATE preprocessor in python