Converted code, needs grooscript.js to run. grooscript.js inside the jar in META-INF/resources for servlet 3.0 support.
No dependencies, Gradle as build system. In sonar maven repository:
Please all feedback welcome, thanks!
Basic inheritance, can do super() only in constructors.
Types not supported, can't casting, missing lot of java types.
Only can access class names and instanceof of created classes with a conversion option.
Not allowed same number of parameters in methods / constructors.
Can add methods and properties with metaclass, but some problems with primitive types as String and Number.
No delegate. No ExpandoMetaClass. No libraries out of groovy-core.
Groovy ast transformations as @Cannonical, @ToString, ... not supported.
Variable assignment not allowed inside boolean expressions as ternary (?:).
Website URL (can try conversions there): http://www.grooscript.org