> I wonder how long (less than a year?) it will be until people are writing
> computer languages that know enough about context to select a parsing that
> Makes Sense when faced with an ambiguous construction.
(1) The Perl parser already does much of this if you
look at it -- figure out how many things naked {}
can mean and you'll see why.
(2) Parse::RecDescent supports weighted rules, which
also help with the same thing. Add a bit of
fuzzy math or Q::S and you can actually parse
something in terms of any meaning that is likely
to make more sense than the others.
sl