NAME ^

src/test_main.c - A sample test program

DESCRIPTION ^

examples/c/test_main.c is being retained as an example of a non-trivial, but still clean, Parrot embedding.

Functions ^

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

Loads the file and runs the code.

char *parseflags(Parrot_Interp interp, int *argc, char **argv[])

Parses the command-line.

static void usage(void)

Returns the user help.

static void version(void)

Returns the version information.

SEE ALSO ^

imcc/main.c.

HISTORY ^

This file used to be the parrot executable, but imcc/main.c performs that role.


parrot