The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

TITLE

Using Parrot m4

What is Parrot m4?

Parrot m4 is GNU m4 ported to Parrot. It is implemented in the Parrot Intermediate Representation (PIR). GNU m4, and thus Parrot m4, is a macro processor.

Installing Parrot m4

Get the Parrot distribution. Build parrot. cd languages/m4 make

Running the test suite

  make test

Running your own code

  ../../parrot m4.pbc <options> <file.m4>

Command line arguments

  ../../parrot m4.pbc --help

A simple example

SEE ALSO

AUTHOR

Bernhard.Schmalhofer at gmx.de