Skip to content

Latest commit

 

History

History
64 lines (42 loc) · 1.27 KB

File metadata and controls

64 lines (42 loc) · 1.27 KB

TITLE

DRAFT: Synopsis 32: Setting Library - Rules

AUTHORS

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

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 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.

Roles

Regex

role Regex {...}

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()    {...}
}

Cursor

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

Grammar

See Abstractions.pod

Additions

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