This document introduces GrooScript, an open source library that converts Groovy code to JavaScript. It provides examples of Groovy code and the corresponding JavaScript output. Key points covered include:
- GrooScript allows continued development in Groovy while outputting JavaScript that can be used in browsers.
- It supports common Groovy features like closures, meta programming and types while making the code more JavaScript friendly.
- The library can be used directly, or with Gradle and Grails plugins to facilitate conversion of Groovy code to JavaScript.
- While not a perfect translation, GrooScript enables continued use of the Groovy development experience for client-side code. The author provides several