You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Paul King (JIRA)" <ji...@apache.org> on 2019/03/16 01:23:00 UTC

[jira] [Created] (GROOVY-9036) Groovydoc remedial modifications

Paul King created GROOVY-9036:
---------------------------------

             Summary: Groovydoc remedial modifications
                 Key: GROOVY-9036
                 URL: https://issues.apache.org/jira/browse/GROOVY-9036
             Project: Groovy
          Issue Type: Epic
            Reporter: Paul King


We are planning to alter groovydoc in groovy 3.0 to use the antlr4 parser for groovy and plug in an antlr4 java grammar to replace or existing one. (We have some alternative experiments in play to also look at using an alternative java parser, or running java stubs through normal javadoc and do some post-processing - but in all cases some remedial work is required for 2_5_X).

This epic is to fix up a number of cases that currently exist in 3.0 (until we complete the aforementioned work) but will also remain for the 2_5_X stream even after that work is done.

So basically, we will tweak the java grammar to understand some bits of Java 8+, e.g. try-with-resources, but in some cases we may not do enough work for java2groovy to also completely work in those cases (it is currently not in our plans to complete that work since we plan to focus on Groovy 3.0). The goal is for no cases which currently pass java2groovy parsing to become broken after the changes - but cases which currently fail may continue to fail but with a slightly different error - since parsing will be somewhat more complete in some cases.




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)