SYNOPSIS

This example illustrates the use of the m method of Parse::Eyapp::Node objects.

Compile Rule6.yp first:

eyapp Rule6

Run it like this:

$ ./m2.pl 
Tree:TIMES(TIMES(NUM(TERMINAL),NUM(TERMINAL)),NUM(TERMINAL))
Match Node:
Match[[TIMES:0:wxz]](Match[[TIMES:1:fold,zxw,wxz]])

See perldoc Parse::Eyapp::treematchingtut for the details