This post by Keith Kanios has prompted me for this post. It is in the "Announcements". I put it her for everyone to see. If it should be attached to the above thread, feel free to move it.
http://forum.nasm.us/index.php?topic=860.msg2912#msg2912This is a preliminary announcement regarding the rewrite/revamp of the NASM preprocessor.
New NASM Directives:
%rmacro: Recursive Macro, can be called arbitrarily deep (really high limit [2^20] set to catch infinite loops.)
%irmacro: Same as above, except case-insensitive like %imacro.
%exitmacro: Terminates the current macro invocation, much like %exitrep; can be nested in other preprocessor directives (e.g. %if/%endif) within the macro, with exception of another macro, of course.
%while/%endwhile/%exitwhile: A fusion between %rep and %if.
%comment/%endcomment: Comment block for long/multi-line comments. A little syntactic sugar, if you will.
%final: Causes rest of line after %final to be preprocessed after all other "normal" preprocessing is complete. Multiple %final directives work like the x86 stack, LIFO/FILO.
While reading the above post, it became apparent to me that I will need to build nasm to be able to experiment with the latest implementations and possibly take part of the discussions regarding changes/enhancements etc. Up to now I have been a "user" of Nasm without any regards to where the developing team would take it. After all i could always go back to Masm
I have never tried to compile Nasm from sources and after downloading Keith's files, come to realize that I need help doing this.
If someone could give me pointers or possibly a batch file to compile Nasm from sources, I would be much obliged. Currently I use Win 32 on XP pro.
Regards
Klod