Search the Community
Showing results for tags 'Lol.'.
SO, i was playing around with adding a C preprocessor into the SciTE IDE and i thought it became kinda cool. A package is attached, which hold a small installer and some binary files, that integrates the preprocessor into SciTE along with some syntax stuff, so you can run it right away through F5. It can also uninstall what was installed. This uses the open source mcpp C preprocessor, which can be found here: http://mcpp.sourceforge.net/ Example of usage (this gets converted to perfect valid au3 code): In case anybody doesn't know what the C preprocessor is: It allows for inclusion of other source files (already supported in autoit through #include)It allows for symbolic constants and small function-like macroesMost importantly, it allows for conditional inclusion through the use of #ifdef, #ifndef and #ifIt has some other tricks too, some of them explained in above picture.Known incompatibilities: Empty escape characters ("\") causes the engine to crash, i will look into this... can be disabled in \Autoit\scite\autoitwrapper\pre.ini (remove argument -a, others can btw be added here). So does anybody feel this is useful? Au3 PP.zip