<commit_before>#! /usr/local/bin/parrot
# Copyright (C) 2009, Parrot Foundation.

=head1 NAME

setup.pir - Python distutils style

=head1 DESCRIPTION

No Configure step, no Makefile generated.

Currently, the only dependency is 'prove' (in 'test' step).

Note: this setup.pir is a toy for Plumage.

=head1 USAGE

    $ parrot setup.pir build
    $ parrot setup.pir test
    $ sudo parrot setup.pir install

=cut

.sub 'main' :main
    .param pmc args
    $S0 = shift args
    load_bytecode 'distutils.pbc'

    $P0 = new 'Hash'
    $P1 = new 'Hash'
    $P2 = split " ", "Math/Random/mt19937ar.pir"
    $P1['Math/Random/mt19937ar.pbc'] = $P2
    $P0['pbc_pir'] = $P1
    $S0 = get_parrot()
    $P0['prove_exec'] = $S0
    $P3 = split " ", "Math/Random/mt19937ar.pbc"
    $P0['inst_lib'] = $P3
    .tailcall setup(args :flat, $P0 :flat :named)
.end

=pod p6

    setup(
        :pbc_pir( {
            'Math/Random/mt19937ar.pbc' => [ 'Math/Random/mt19937ar.pir' ],
        } ),
        :prove_exec( get_parrot() ),
        :inst_lib( [ 'Math/Random/mt19937ar.pbc' ] )
    );

=cut

# Local Variables:
#   mode: pir
#   fill-column: 100
# End:
# vim: expandtab shiftwidth=4 ft=pir:<commit_msg>add html_pod<commit_after>#! /usr/local/bin/parrot
# Copyright (C) 2009, Parrot Foundation.

=head1 NAME

setup.pir - Python distutils style

=head1 DESCRIPTION

No Configure step, no Makefile generated.

Currently, the only dependency is 'prove' (in 'test' step).

Note: this setup.pir is a toy for Plumage.

=head1 USAGE

    $ parrot setup.pir build
    $ parrot setup.pir test
    $ sudo parrot setup.pir install

=cut

.sub 'main' :main
    .param pmc args
    $S0 = shift args
    load_bytecode 'distutils.pbc'

    $P0 = new 'Hash'
    $P1 = new 'Hash'
    $P2 = split " ", "Math/Random/mt19937ar.pir"
    $P1['Math/Random/mt19937ar.pbc'] = $P2
    $P0['pbc_pir'] = $P1
    $S0 = get_parrot()
    $P0['prove_exec'] = $S0
    $P3 = split " ", "Math/Random/mt19937ar.pbc"
    $P0['inst_lib'] = $P3
    $P4 = new 'Hash'
    $P4['Math/Random/mt19937ar.html'] = 'Math/Random/mt19937ar.pir'
    $P0['html_pod'] = $P4
    .tailcall setup(args :flat, $P0 :flat :named)
.end

=pod p6

    setup(
        :pbc_pir( {
            'Math/Random/mt19937ar.pbc' => [ 'Math/Random/mt19937ar.pir' ],
        } ),
        :prove_exec( get_parrot() ),
        :inst_lib( [ 'Math/Random/mt19937ar.pbc' ] ),
        :html_pod( {
            'Math/Random/mt19937ar.html' => 'Math/Random/mt19937ar.pir',
        } )
    );

=cut

# Local Variables:
#   mode: pir
#   fill-column: 100
# End:
# vim: expandtab shiftwidth=4 ft=pir:
{'fraction_non_alphanumeric': 0.15290049942374184, 'fraction_numerical': 0.0530157510564733, 'mean_word_length': 2.6624472573839664, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 6, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1935499', 'n_tokens_mistral': 1149, 'n_tokens_neox': 1040, 'n_words': 236}