The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

IMCC - running

VERSION

0.1 intital

OVERVIEW

This document describes imccs command line option.

SYNOPSIS

 imcc [-options] <file> [arguments ...]

OPTIONS

Imcc options

-c, --create-pbc
-d, --debug

More -d give more debug output

-h --help
-o outputfile
-r, --run-pbc
-v, --verbose

One -v shows, which files are worked on, two give you a summary over register usage and optimization stats perl compilation unit.

-y, --yydebug

Turn on yydebug in yacc/bison.

-V, --version
-Ox

Optimize

 -O0 no opimization
 -O1 optimizations w/o life info (e.g. branches)
 -O2 optimizations with life info

This will probably change.

Parrot Options

s. parrot -h for description, used, when running a program inside imcc.

<file>

If the file ends in .pasm it is parsed as PASM code else as PIR code.

Generated files

If -r or -c are not present, a PASM file is generated. If the -o option is not used, either a.pasm or a.pbc in the current working dir are created.

[arguments ...]

Optional arguments passed to the running program as ARGV, only useful for the -r option.

BUGS

The long options are unimplemented.

FILES

main.c

AUTHOR

Leopold Toetsch <lt@toetsch.at>

2 POD Errors

The following errors were encountered while parsing the POD:

Around line 25:

'=item' outside of any '=over'

Around line 58:

You forgot a '=back' before '=head2'