3 ms·
You might want to have a look at Xtend2. Xtend2 is a complete language build with the upcoming Xtext version 2.0. Xtend2 offers dynamic dispatch functions and
by jankoehnlein 15y ago
You might want to have a look at Xtend2. Xtend2 is a complete language build with the upcoming Xtext version 2.0.
Xtend2 offers dynamic dispatch functions and binds and compiles to Java. Furthermore, it inherits other nice language features like operator overloading, closures, higher-order functions and a rich switch statement from the expression language library Xbase (also part of Xtext 2.0).
You can define your own fully-flegded languages with Xtext easily by extending Xbase. Adding concepts or using just a subset of the expression language is possible.
There's a lot of information about Xtend2/Xbase at Sven's blog, e.g.
http://blog.efftinge.de/2011/04/eclipse-xtend-beta-available.html http://blog.efftinge.de/2011/04/eclipse-xtend-beta-available...
BTW, "feels like Java" is meant with respect to the editing experience :-) The language itself feels a lot better...