Golo
— a lightweight dynamic language for the JVM.

back to the front page

 Golo 2.1.0

Oléron

Welcome to the latest release of Golo!

We are pleased to introduce Golo 2.1.0, a new stable release with incremental changes over Golo 2.0.0. We mostly focused our efforts towards behind-the-scenes polishing, so this release is relatively light on features.

Golo 3.0.0 will switch to Java SE 8 as a requirement. This release will include Java functional interfaces interoperability (a.k.a. lambdas). We also expect to introduce named parameters thanks to the efforts from Daniel Petisme.

While our developments efforts will shift to 3.x.y, we may still produce further Java 7 compatible 2.x.y releases if need be.

Noteworthy changes

head(), tail() and isEmpty() on collection-like objects

Yannick Loiseau is a great fan of functional programming, and he went on to add these methods to further collection-like types:

Note that tail() produces immutable views of the underlying collection.

Directly calling anonymous functions

This used to be forbidden:

(|x| -> x + 1)(1)

But thanks to Yannick this is a thing from the past, the snippet above is perfectly Golo-proof.

Comparable tuples

Yannick made Golo tuples comparable, so you can now do just that:

let e1 = [1, 2] < [1, 3]
let e2 = ["b", 5] < ["d", 1]

Module names escaping

Romain Lespinasse fixed the project creation (golo new) so that when a project name contains non-word characters, these are replaces with a dot instead ('.').

This avoids compilation errors due to a bad generation.

golo version --full

The very same Romain tweaked the version command so that the --full flag also includes the JVM version being used:

$ golo version --full
Golo version : 2.1.0-SNAPSHOT (build 15-03-15-12:34)
JVM version: 1.8.0_31
$

Invalid parser token / Netbeans IDE

Our friends at Serli are contributing to Golo. As Guillaume Soldera is refreshing the state of the Netbeans plugin, he fixed our parser to introduce an invalid token.

This is useful for an IDE, because it integrates tightly with the Golo compiler to provide live error feedback.

Netbeans and Golo

The recent builds of the Golo Netbeans plugin are not available yet from the Netbeans plugin repository. This will be addressed soon, but meanwhile you can:

Misc.

Until next time…

…have fun!

comments powered by Disqus


Copyright © 2012 – 2017 INSA Lyon, CITI Laboratory and contributors.

Privacy Policy | Terms of Use | Copyright Agent | Eclipse Public License | Legal Resources