Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gradual introduction of New Antlr4 Parser #6221

Open
tkobayas opened this issue Jan 16, 2025 · 1 comment
Open

Gradual introduction of New Antlr4 Parser #6221

tkobayas opened this issue Jan 16, 2025 · 1 comment
Assignees

Comments

@tkobayas
Copy link
Contributor

As discussed in https://lists.apache.org/thread/fj2vtdlmb98xlw6l97r4qscsproz0jq1 , we will introduce New Antlr4 Parser with a gradual approach.

  1. Introduce the new parser(DRL10), but make it optional (not enabled by default).
  2. Raise warnings when the syntax to be dropped are used in the old DRL6 parser, saying these syntax are deprecated.
    Raise warnings when DRL5 and DRL6_STRICT are used, saying these language levels are deprecated.

(six months later)

  1. Raise warnings when DRL6 is used, saying DRL10 will be the default in the future

(six months later)

  1. Make the new parser(DRL10) default

(x months later)

  1. In the next major release (version 11), drop the old DRL5 andDRL6_STRICT parsers

(x months later)

  1. In the major release after that (version 12), drop the old DRL6 parser, it means the deprecated syntax cannot be used at this point.
@tkobayas tkobayas self-assigned this Jan 16, 2025
@tkobayas
Copy link
Contributor Author

Slim down itself is handled by #6220

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant