=encoding utf8

=head1 TITLE

DRAFT: Synopsis 32: Setting Library - Rules

=head1 AUTHORS

    Tim Nelson <wayland@wayland.id.au>
    Larry Wall <larry@wall.org>

=head1 VERSION

    Created: 27 Feb 2009

    Last Modified: 27 Feb 2009
    Version: 1

The document is a draft.

If you read the HTML version, it is generated from the Pod in the specs
repository under
L<https://github.com/perl6/specs/blob/master/S32-setting-library/Rules.pod>
so edit it there in the git repository if you would like to make changes.

=head1 Roles

=head2 Regex

    role Regex {...}

=head2 Match

    role Match does Positional does Associative {
        method Int from()   {...}
        method Int to()     {...}
        method Int chars()  {...}
        method     orig()   {...}
        method     ast()    {...}
        method     caps()   {...}
        method     chunks() {...}
        method     pos()    {...}

        method     bool()   {...}
        method     Str()    {...}
        method     Num()    {...}
    }

=head2 Cursor

    role Cursor {
        method Int pos()  {...}
        method     orig() {...}
    }

=head2 Grammar

See Abstractions.pod

=head1 Additions

Please post errors and feedback to perl6-language.  If you are making
a general laundry list, please separate messages by topic.