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

Move to ANTLR 4 with Java 11 lang features and localization. #5

Merged
merged 12 commits into from
Oct 6, 2019

Commits on Oct 6, 2019

  1. 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).
    sampottinger committed Oct 6, 2019
    Configuration menu
    Copy the full SHA
    cbfa4b3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    18c9722 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6bdb9d6 View commit details
    Browse the repository at this point in the history
  4. Add openjdk ppa

    sampottinger committed Oct 6, 2019
    Configuration menu
    Copy the full SHA
    82a10e7 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    977a66a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    dcacf08 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    3f8e251 View commit details
    Browse the repository at this point in the history
  8. Switch ant to 1.10.7

    sampottinger committed Oct 6, 2019
    Configuration menu
    Copy the full SHA
    a597cad View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    8deb99d View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    883e223 View commit details
    Browse the repository at this point in the history
  11. Revert x in travis.

    sampottinger committed Oct 6, 2019
    Configuration menu
    Copy the full SHA
    3f8ffeb View commit details
    Browse the repository at this point in the history
  12. Try x in services.

    sampottinger committed Oct 6, 2019
    Configuration menu
    Copy the full SHA
    005bcf9 View commit details
    Browse the repository at this point in the history