forked from benfry/processing4
-
Notifications
You must be signed in to change notification settings - Fork 5
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
Move to ANTLR 4 with Java 11 lang features and localization. #5
Merged
Commits on Oct 6, 2019
-
Move to ANTLR 4 with Java 11 lang features and localization.
Introduces ANTLR4 and Java 8 language feature support within IDE while also adding additional hooks for localization of syntax error messages, addressing processing/processing#3054 and processing/processing#3055. The PR is broadly a continuation of processing/processing#3055, bringing it up to speed with the latest Processing master plus the changes introduced at processing/processing#5753. **Requires processing/processing#5753 as pre-requisite.** This introduces a number of edits beyond processing/processing#3055 beyond compatibility with current Processing master and processing/processing#5753 including: - Update to the grammar itself - Change ANTLR listeners to emit `TextTransform.Edit` to unify JDT-based `PreprocessingService` and `JavaBuild`, removing code with duplicate purpose. - Introduction of syntax error rewriting with support for localization. - Addition of complete localized strings set for English and Spanish. - Addition of partial localized strings set for other languages. - Refactor of ANTLR-related code for testability and readability - Expansion of tests including full parse tests for new Java features (type inference, lambdas).
Configuration menu - View commit details
-
Copy full SHA for cbfa4b3 - Browse repository at this point
Copy the full SHA cbfa4b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 18c9722 - Browse repository at this point
Copy the full SHA 18c9722View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6bdb9d6 - Browse repository at this point
Copy the full SHA 6bdb9d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 82a10e7 - Browse repository at this point
Copy the full SHA 82a10e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 977a66a - Browse repository at this point
Copy the full SHA 977a66aView commit details -
Configuration menu - View commit details
-
Copy full SHA for dcacf08 - Browse repository at this point
Copy the full SHA dcacf08View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f8e251 - Browse repository at this point
Copy the full SHA 3f8e251View commit details -
Configuration menu - View commit details
-
Copy full SHA for a597cad - Browse repository at this point
Copy the full SHA a597cadView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8deb99d - Browse repository at this point
Copy the full SHA 8deb99dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 883e223 - Browse repository at this point
Copy the full SHA 883e223View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f8ffeb - Browse repository at this point
Copy the full SHA 3f8ffebView commit details -
Configuration menu - View commit details
-
Copy full SHA for 005bcf9 - Browse repository at this point
Copy the full SHA 005bcf9View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.