Grooscript
Paradigm | scripting |
---|---|
Designed by | Jorge Franco |
Developer | Jorge Franco Abel Salgado Romero |
First appeared | 2013 |
Stable release | 1.3.0
/ September 12, 2016 |
Typing discipline | Dynamic |
License | Apache 2.0 |
Filename extensions | .groovy |
Website | grooscript |
Influenced by | |
Apache Groovy, Java, JavaScript |
Search Grooscript on Amazon.
Grooscript is a library that converts Apache Groovy code to JavaScript code. grooscript-x.y.z.jar is required to convert the Groovy code to Javascript, and grooscript.js is needed to run the generated code.[1]
Although Grooscript has some limitations compared to Apache Groovy, it can use domain classes in both the server and the client. A typical development process is to create a dynamic single webpage application in Groovy, test its various parts with Spock, and use web sockets to speed up page reloading on the fly.[2]
Features[edit]
Most valid Groovy files that will compile in Apache Groovy will convert to JavaScript using Grooscript. Setting up the conversion environment is as simple as putting
compile 'org.grooscript:grooscript:1.3.0', {
exclude module: "groovy"
}
in the Gradle build file.
Plugin support for Grails version 3.0 is provided, as well as online code conversions.[3]
References[edit]
Citations[edit]
- ↑ "Grooscript Documentation". 12 Sep 2016.
- ↑ "Presentation at SpringOne/2GX on Grooscript". 13 Dec 2015.
- ↑ "Grooscript online conversions". 15 May 2017.
This article "Grooscript" is from Wikipedia. The list of its authors can be seen in its historical. Articles copied from Draft Namespace on Wikipedia could be seen on the Draft Namespace of Wikipedia and not main one.