On 26 October 2016 at 18:28, Robert Griesemer <
g...@golang.org> wrote:
> The new parser (which I wrote) is mostly based on the existing one (which I
> wrote before and which was a 1:1 translation of the yacc-based
> implementation) and thus has essentially the same structure except that it's
> cleaner and simpler. I like to think that it contains the best of both
> worlds, the gc parser and the go/parser. I believe the error messages and
> behavior are either identical or at least very close.
>
> We know of a few cases where we are worse than before, especially when
> compared to yacc (issues are filed), and some cases where they have
> improved. At any rate this is an area which we are continuously trying to
> make better - good error messages really improve the user experience.
Yes. This would be my major reason for deciding on one or the other,