tagged release 0.7.1
[parrot.git] / ext / Parrot-Embed / lib / Parrot / Embed.pm
blobfbdf078fc0c26f60b0d14ffa7a0fc3ae9372f5d3
1 package Parrot::Embed;
3 # $Id$
5 use strict;
6 use warnings;
8 our $VERSION = '0.02';
10 use base qw(DynaLoader Exporter);
12 our @EXPORT_OK = qw(Parrot_revision);
14 Parrot::Embed->bootstrap($VERSION);
18 __END__
20 =head1 NAME
22 Parrot::Embed - use Parrot from Perl 5
24 =head1 VERSION
26 Version 0.02
28 =head1 SYNOPSIS
30 use Parrot::Embed qw(Parrot_revision);
32 =head1 DESCRIPTION
34 This module embeds libparrot in Perl 5 programs. You can load Parrot bytecode,
35 compile your own code, and call Parrot subroutines and send and receive values
36 to them.
38 It provides the core implementation used by the L<Parrot::Interpreter> module.
39 Do consider using L<Parrot::Interpreter> first however. See also
40 L<Parrot::PMC>.
42 The only useful interface provided by this module is Parrot_revision().
44 =head2 Parrot_revision()
46 Returns the integer revision number of the embedded libparrot.
48 =head1 AUTHOR
50 chromatic, C<< <chromatic at wgz.org> >>
52 =head1 BUGS
54 Please report any bugs or feature requests to the Parrot Porters mailing list.
55 Someday there may be a CPAN version of this code. Who knows?
57 =head1 COPYRIGHT & LICENSE
59 Copyright (C) 2006-2007 The Perl Foundation / chromatic.
61 This program is free software; you can redistribute it and/or modify it
62 under the same terms as Parrot itself.
64 =cut
66 # Local Variables:
67 # mode: cperl
68 # cperl-indent-level: 4
69 # fill-column: 100
70 # End:
71 # vim: expandtab shiftwidth=4: