Golo comes with a compiler that generates JVM bytecode in .class files. We will give more details
in the chapter on interoperability with Java.
Compiling Golo files is straightforward:
$ golo compile --output classes samples/helloworld.golo $
This compiles the code found in samples/helloworld.golo and outputs
the generated classes to a classes folder (it will be created if
needed):
$ tree classes/
classes/
└── hello
└── World.class
1 directory, 1 file
$