|How to write Macro preprocessor ? email@example.com (1996-04-29)|
|From:||firstname.lastname@example.org (Wong Sai-kee)|
|Date:||29 Apr 1996 23:30:25 -0400|
|Organization:||Engineering Faculty CUHK|
I am doing cross development on MSDOS. I need to write ASM codes for
4-bit uC. But the XASM supplied is not a macro assembler which force
me to type tedious code. I decided to write a preprocessor to
translate Macro codes to the codes defined by the manufacturer. Since
I know nothing about lex and yacc, can you give me a pointer(s) on how
to start writing such utilities (probably with lex and yacc).
[I'd use cpp or m4, both of which already exist and are available for free
in source form. -John]
Return to the
Search the comp.compilers archives again.