Mps logo

MPS

Language workbench to create Domain-Specific Languages

Features News

Raising the bar for BaseLanguage

Here’s a brief announcement of an upcoming feature that we would like to know your opinion on. One of the more visible changes that we’re preparing for 2020.1 is a set of enhancements to BaseLanguage that have been inspired by the Java language. 

You can look forward to:

  • try with resources
  • catch multiple exceptions
  • string switch natively supported in the generated code
  • local variable type inference

In order to support these features, the minimal source code language level for the generated Java code in MPS will be raised to Java 7. We believe that after so many years of Java 6 being deprecated this will hardly cause troubles to the MPS-based projects out there. Let us know if it could be an issue for your project and we will try to come up with a solution.

Have a great day!

Your JetBrains MPS team

The Drive to Develop

image description