Skip to content

Commit

Permalink
[grammars] try to simplify an explanation
Browse files Browse the repository at this point in the history
  • Loading branch information
moritz committed Sep 25, 2010
1 parent 4ac3d50 commit a6b8fdd
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions src/grammars.pod
Expand Up @@ -363,14 +363,8 @@ The other action methods work the same way. They transform the information
they extract from the match object into native Perl 6 data structures, and
call C<make> to set those native structures as their own ASTs.

=for author

I don't understand this next sentence.

=end for

The action methods that belong to a proto token are parametric in the same way
as the alternative:
The action methods for proto tokens include the full name of each individual
rule, including them C<sym> part:

=begin programlisting

Expand All @@ -383,6 +377,6 @@ as the alternative:
=end programlisting

When a C<< <value> >> call matches, the action method with the same
parametrization as the matching alternative executes.
symbol as the matching subrule executes.

=for vim: spell spelllang=en tw=78

0 comments on commit a6b8fdd

Please sign in to comment.