While looking at groovy compilation process using goovyc I observed that the groovc tool shipped with groovy is a script which internally runs a java main class (org.codehaus.groovy.tools.GroovyStarter).
So does this mean that when using groovc ,the groovy compilation itself occurs in a jvm process where it parses the source files and then converts them in to byte codes, all this happening using a jvm process.
While looking at groovy compilation process using goovyc I observed that the groovc tool
Share
Yes. The same is true for javac. In fact, the majority of programming languages has the main compiler written in the language itself. This practice is known as bootstrapping.