Ann: Minimac - A simple open source macro processor

mwh <>
Tue, 5 May 2009 05:41:08 -0700 (PDT)

          From comp.compilers

Related articles
Ann: Minimac - A simple open source macro processor (mwh) (2009-05-05)
| List of all articles for this month |

From: mwh <>
Newsgroups: comp.compilers
Date: Tue, 5 May 2009 05:41:08 -0700 (PDT)
Organization: Compilers Central
Keywords: macros
Posted-Date: 05 May 2009 10:50:37 EDT

I've recently started an open source project to produce a minimalist
text macro processor suitable as a front end preprocessor for little
language compilers.

Minimac is a BSD licensed open source project written in ANSI C. The
project is hosted on Google code

Salient features and design objectives:
        * simpler to use than m4
        * uses an explicit argument stack, user functions are defined by
      * delays macro expansion to the last possible moment.

Usage Sample:
Minimac's output has been prefixed with '=>':

        `greet`Hello friend`

        =>Hello friend



        =>Hello George



        =>Hello Ann

    Mark Humphries
[Take a look at GPM, the tiny macrogenerator that ballooned into m4. -John]

Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.