NAME ^

compilers/pirc/pirc.c

DESCRIPTION ^

This program is the PIR compiler driver. It invokes the three PIR compilation phases, consisting of the heredoc preprocessor, the macro processor and the pure PIR compiler. Invocation is done using calls to system().

Functions ^

static void print_help(void)

Prints help message and usage information

int main(int argc, char *argv[])

Depending on the program arguments, invoke the PIR compiler phases. There are three options: run only the heredoc preprocessor, do only pre-processing (heredoc + macro processing), or invoke all three compilation phases.


parrot