Search the Community
Showing results for tags 'Preprocessor'.
I need to hook in a preprocessor that runs before run/compile time, but I can't find any help on this. I already have some AutoIT code to read a file and replace my @ThisFileName macros with the actual source file being reprocessed. This macro will be used to emit the filename of the source file or my library UDFs. So, I want to run it when parsing each source file and each include file. I don't know how to hook my code into the run/build process. I was kind of looking for a tutorial or an example of installing the hooks.
I have been searching for a general purpose AutoIt macro preprocessor for some time. I've looked at all the existing implementations I could find, and researched two in detail: Shaggi's implementation of the C Preprocessor "mcpp" () kjactive's Au3PreProcessor (). But none of these are general enough in scope, or powerful enough in their macro expansion capabilities, to allow the rapid development of domain specific commands or the encapsulation of complex AutoIt constructs that I'm looking for. So, I am currently building a prototype AutoIt preprocessor (tentatively named "M4Au3") based on