Howdy,
One of the problems in recursive-descent parsing is constructs that
look a lot alike at the front, only to differ at the end -- a sort of
end-weight pathology. The example I'm thinking of is the similarity
between variable and function declarations in 'C'.
extern int foo = 0;
Austin Hastings Austin_Hastings-at-Yahoo.com |Perl 6| wrote:
Anyway, I'm not proposing anything so much as wondering out loud.
Surely there's a bunch of smarter bears than me who have given this
some thought. Any wisdom?
=Austin
The short answer is that the Perl 6 pattern matching