I've updated my website! 
You can download a little program - AGI Logic Source Changer - which changes logic code into logic code using defines... I'm still working on it, but it works!
That's pretty cool, I used to do that stuff using my beloved UltraEdit's marco function (which was pretty a cumbersome manner, btw)...
BUT... (and this is a major league 'but')... It doesn't work...
syntax error at ../definer/definer.pl line 118, near ") {"
syntax error at ../definer/definer.pl line 122, near "} else"
syntax error at ../definer/definer.pl line 137, near "}"
Execution of ../definer/definer.pl aborted due to compilation errors.
This exe file was created with the evaluation version of Perl2Exe.
For more information visit http://www.indigostar.com
(The full version does not display this message with a 2 second delay.)
...