Skip to content
This repository
tree: 7b6a72ae6d
Fetching contributors…

Cannot retrieve contributors at this time

file 41 lines (25 sloc) 0.611 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41

=head1 TITLE

xyz.pir - A fun compiler.

=head2 Description

This is the entry point for the fun compiler.

=head2 Functions

=over 4

=item main(args :slurpy) :main

Start compilation by passing any command line C<args>
to the fun compiler.

=cut

.sub 'main' :main
    .param pmc args

    #Put the arguments into the private namespace for argc/argv to use.
    set_hll_global ['private'], 'args', args

    load_language 'fun'

    $P0 = compreg 'fun'
    $P1 = $P0.'command_line'(args)
.end

=back

=cut

# Local Variables:
# mode: pir
# fill-column: 100
# End:
# vim: expandtab shiftwidth=4 ft=pir:
Something went wrong with that request. Please try again.