Grooscript: Difference between revisions

Content deleted Content added
removing and categorizing
m Improved redirect
Tag: Redirect target changed
 
(2 intermediate revisions by 2 users not shown)
Line 1:
#REDIRECT [[Apache Groovy#Dialects]]
{{Infobox programming language
 
| name = Grooscript
{{Rcat shell|
| paradigm = [[Scripting language|scripting]]
{{R to related topic}}
| year = {{Start date and age|2013}}
| designer = Jorge Franco
| developer = Jorge Franco<br />Abel Salgado Romero
| latest release version = 1.3.0
| latest release date = {{Start date and age|2016|09|12}}
| typing = [[Type system#DYNAMIC|Dynamic]]
| website = {{URL|grooscript.org}}
| influenced by = [[Groovy (programming language)|Apache Groovy]], [[Java (programming language)|Java]], [[JavaScript]]
| license = [[Apache License|Apache]] 2.0
| file ext = .groovy
}}
'''Grooscript''' is a library that converts [[Groovy (programming language)|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.<ref>{{cite web|url=http://grooscript.org/doc.html|title=Grooscript Documentation|date=12 Sep 2016}}</ref>
 
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.<ref>{{cite web|url=https://www.infoq.com/presentations/grooscript|title=Presentation at SpringOne/2GX on Grooscript|date=13 Dec 2015}}</ref>
 
==Features==
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
<source lang="groovy">
compile 'org.grooscript:grooscript:1.3.0', {
exclude module: "groovy"
}
</source>
in the [[Gradle]] build file.
 
Plugin support for [[Grails (framework)|Grails]] version 3.0 is provided, as well as online code conversions.<ref>{{cite web|url=http://grooscript.org/conversions.html|title=Grooscript online conversions|date=15 May 2017}}</ref>
 
== References ==
=== Citations ===
{{Reflist|30em}}
 
[[Category:JavaScript libraries]]
[[Category:Scripting languages]]
[[Category:Software using the Apache license]]