[antlr-interest] target language independent action code
Gavin Lambert
antlr at mirality.co.nz
Thu Jan 24 02:32:23 PST 2008
At 08:22 24/01/2008, Kay Röpke wrote:
>
>One common use-case is that you found a grammar
in the antlr.org
>grammar list, use that, some publishes a bug
fix for that grammar
>and you are left with your copy of it and the need to merge. In
>most cases you have probably heavily modified
the grammar already,
>and if only with custom actions. Painful.
That's what three-way merge tools are
for. Compare a pristine copy of the original
version you modified with both the new version
provided and your modified version. Merge
changes from the second to the third. Verify
your unit tests. Usually fairly straightforward,
although it depends on how extensive the modifications are.
More information about the antlr-interest
mailing list