1# Copyright (C) 2006-2007, Parrot Foundation. 2 3=head1 NAME 4 5Parrot::Docs::Section::Compilers - Compilers documentation section 6 7=head1 SYNOPSIS 8 9 use Parrot::Docs::Section::Compilers; 10 11=head1 DESCRIPTION 12 13A documentation section describing all compilers in Parrot. 14 15=head2 Class Methods 16 17=over 18 19=cut 20 21package Parrot::Docs::Section::Compilers; 22 23use strict; 24use warnings; 25 26use base qw( Parrot::Docs::Section ); 27 28use Parrot::Distribution; 29 30=item C<new()> 31 32Returns a new section. 33 34=cut 35 36sub new { 37 my $self = shift; 38 39 return $self->SUPER::new( 40 'Compilers', 41 'compilers.html', 42 '', 43 $self->new_group( 'IMCC', 'the Intermediate Code Compiler for Parrot', 'compilers/imcc' ), 44 $self->new_group( 'PGE', 'the Parrot Grammar Engine', 'compilers/pge' ), 45 $self->new_group( 'TGE', 'the Tree Grammar Engine', 'compilers/tge' ), 46 $self->new_group( 'PCT', 'Parrot Compiler Toolkit', 'compilers/pct' ), 47 $self->new_group( 'JSON', 'JavaScript Object Notation', 'compilers/data_json' ), 48 $self->new_group( 'NCIGEN', 'Native Call Interface Generator', 'compilers/ncigen' ), 49 ); 50} 51 52=back 53 54=cut 55 561; 57 58# Local Variables: 59# mode: cperl 60# cperl-indent-level: 4 61# fill-column: 100 62# End: 63# vim: expandtab shiftwidth=4: 64