First he shows time literals like
which can be accomplished in Groovy following Daniel's example: create a base class like Time, plug it into numbers with MetaClass.propertyMissing.
The second feature introduces "pointers" into the language, something I'm convinced is not a good idea (remember that jfx should be a language for content authors, not just developers/programmers) but it any case Groovy allows "method borrowing" too (and I think there is something for properties too) thanks to ExpandoMetaClass
Lastly the
tween
, at
and after
operators resemble a basic DSL, which you can also do in Groovy in a couple of ways, the most common would be:- a builder
- static import of static helper methods (also available in regular Java)
It's unfortunate that OpenJFX currently isn't a real open-source project. As such, it gives the appearance that progress isn't being made with JavaFX Script. Nevertheless, evolution has occurred, albeit internally.
So how open is "open" for Sun this days?