Skip to content

Commit

Permalink
Formatting: standardize word wrap at column 78.
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.parrot.org/parrot/trunk@10264 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  • Loading branch information
Chip Salzenberg committed Nov 30, 2005
1 parent 0abc6ea commit f140bda
Show file tree
Hide file tree
Showing 3 changed files with 65 additions and 48 deletions.
106 changes: 59 additions & 47 deletions docs/pdds/pdd00_pdd.pod
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@ $Revision$

=head1 ABSTRACT

This document defines the content and format of Parrot Design
Documents (PDDs).
This document defines the content and format of Parrot Design Documents
(PDDs).

=head1 DESCRIPTION

PDDs are living documents, which should be maintained to reflect the
current and contemplated design of Parrot.
PDDs are living documents, which should be maintained to reflect the current
and contemplated design of Parrot.

The key aspects of Parrot's design are its interface to the outside
world -- its feature set -- and its internal structure, both in code
and in the broader project. Thus, PDDs descirbe Parrot's:
The key aspects of Parrot's design are its interface to the outside world --
its feature set -- and its internal structure, both in code and in the broader
project. Thus, PDDs descirbe Parrot's:

=over 4

Expand All @@ -31,74 +31,79 @@ I<Codable interfaces>: headers, functions, macros, file formats, etc.

=item *

I<Structural requirements> that the implementation must obey:
resource usage, portability, modularity, interdependency, etc.
I<Structural requirements> that the implementation must obey: resource usage,
portability, modularity, interdependency, etc.

=item *

I<Abstract models> that the implementation expresses or conforms to.
These models are in some sense meta-designs, because they provide
guidance for the evolution of the current design.
I<Abstract models> that the implementation expresses or conforms to. These
models are in some sense meta-designs, because they provide guidance for the
evolution of the current design.

=item *

More? - FIXME

=back

PDDS B<should not> discuss the implementation details or trade-offs,
unless they absolutely have to. Such implementation documentation
should go in the relevant F<*.dev> file. On the other hand, PDDs
B<should> document design trade-offs, i.e. the paths not chosen.
PDDS B<should not> discuss the implementation details or trade-offs, unless
they absolutely have to. Such implementation documentation should go in the
relevant F<*.dev> file. On the other hand, PDDs B<should> document design
trade-offs, i.e. the paths not chosen.

These guidelines may seem fuzzy. The line between "design" and
"implementation" is a murky one. Still, please try to adhere to this
design for Parrot design documentation. How you implement it is up to
you. :-)
"implementation" is a murky one. Still, please try to adhere to this design
for Parrot design documentation. How you implement it is up to you. :-)

=head1 IMPLEMENTATION

All newly created PDDs will adhere to the PDD standard current as of the time
of proposal. An example of the currently accepted layout is given in
F<docs/pdds/pdd_template.pod>, which should be used as a template for any
F<docs/pdds/pdd_template.pod>, which should be used as a template for any
future PDDs.

=head2 FORMAT

All PDDs will be written in POD parseable by the current stable
release of Perl. Although XML is a viable solution and has its vocal
supporters, and although Parrot is intended to be used by many groups
outside of the Perl community, we have chosen POD for its simplicity
and ease of reading in plaintext form. Conversion to other formats
(e.g. HTML) is encouraged, but the master version must be POD.
All PDDs will be written in POD parseable by the current stable release of
Perl. Although XML is a viable solution and has its vocal supporters, and
although Parrot is intended to be used by many groups outside of the Perl
community, we have chosen POD for its simplicity and ease of reading in
plaintext form. Conversion to other formats (e.g. HTML) is encouraged, but
the master version must be POD.

All PDDs will be written in English. The choice of British, American,
or Other is up to the author. Translation to other languages, like
all Perl documentation, is encouraged. (See S<L<"PDD TRANSLATIONS">>.)
All PDDs will be written in English. The choice of British, American, or
Other is up to the author. Translation to other languages, like all Perl
documentation, is encouraged. (See S<L<"PDD TRANSLATIONS">>.)

See L<pdd_template.pod> for the basic structure of a PDD. Notes on
the sections:
PDDs should be word-wrapped at column 78. For Emacs variants, this can be
arranged by putting these lines at the end of the file, after "=cut":

Local Variables:
fill-column:78
End:

See L<pdd_template.pod> for the basic structure of a PDD. Notes on the
sections:

=over 4

=item NAME:

A short, general description of a specific part of the Parrot design. This may
be a particular subsystem (e.g. the garbage collector), or a more general
be a particular subsystem (e.g. the garbage collector), or a more general
topic (e.g. basic Parrot datatypes).

=item VERSION:

Document version. Since Parrot is currently kept in a Subversion
repository, the $$-delimited keyword "Revision" will do nicely.
Document version. Since Parrot is currently kept in a Subversion repository,
the $$-delimited keyword "Revision" will do nicely.

=item MAINTAINER I<(optional)>:

The name and current email address for the point of contact for the
PDD. This is the person to whom questions, comments, and patches
should generally be addressed. This need not be the author of the
document. By default, all PDDs are maintained by the Parrot
Architect.
The name and current email address for the point of contact for the PDD. This
is the person to whom questions, comments, and patches should generally be
addressed. This need not be the author of the document. By default, all PDDs
are maintained by the Parrot Architect.

=item ABSTRACT:

Expand All @@ -110,7 +115,8 @@ Code snippets showing the semantics of the PDD (if applicable).

=item DESCRIPTION:

A description of the general nature of the PDD and how it relates to Parrot.
A description of the general nature of the PDD and how it relates to
Parrot.

=item IMPLEMENTATION:

Expand All @@ -120,9 +126,9 @@ what-have-you that required writing the document in the first place.

=item ATTACHMENTS:

References to supporting files that should be considered part of the PDD. Text
files and image files may be in any widely accepted format, which is rather
subjective. Violators may be prosecuted.
References to supporting files that should be considered part of the PDD.
Text files and image files may be in any widely accepted format, which is
rather subjective. Violators may be prosecuted.

Text files and image files should only provide supplemental information; no
fair hiding all the info in an attachment just to not have to write an
Expand All @@ -145,8 +151,7 @@ Acceptance of a particular PDD is ultimately up to the Parrot Architect.

=head2 PDD TRANSLATIONS

Should a PDD be translated into another language, the following guidelines
should be met.
Translations of PDDs into other languages should meet these guidelines:

=over 4

Expand All @@ -156,8 +161,8 @@ The C<MAINTAINER> section should record who made the translation.

=item *

The C<VERSION> section should include an additional note of the
translation version.
The C<VERSION> section should include an additional note of the translation
version.

=back

Expand All @@ -168,3 +173,10 @@ translation version.
=head1 REFERENCES

(none)

=cut

__END__
Local Variables:
fill-column:78
End:
1 change: 1 addition & 0 deletions docs/pdds/pdd03_calling_conventions.pod
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,7 @@ None.
None.

=cut

__END__
Local Variables:
fill-column:78
Expand Down
6 changes: 5 additions & 1 deletion docs/pdds/pdd_template.pod
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,9 @@ List of footnotes to the text.

List of references.

=back
=cut

__END__
Local Variables:
fill-column:78
End:

0 comments on commit f140bda

Please sign in to comment.