Just released: Golo 1.1.0
We haven’t posted much news over the last summer since Golo 1.0.0 was released. We haven’t stayed idle, and today we are pleased to share Golo version 1.1.0!
Golo 1.1.0 is mainly the result of contributions from new community members, and we are very happy to see enthusiasts join our effort.
- Download Golo 1.1.0
- Play with Golo on Google AppEngine
- Read the Golo programming language guide
- Fork the project on GitHub
- Get in touch on our mailing-list
New features
Python-style decorators
This is probably the major feature of this release, contributed by Sylvain Desgrais and Yannick Loiseau.
Golo decorators are not Java annotations, they are higher-order functions like in Python:
which prints:
The new gololang.Decorators
module provides a set of useful
decorators, including
checkArguments
, checkResult
, memoizer
and more.
Here is an example of using memoizer
:
Finally, here is an example checking arguments:
Command-line interface improvements
Romain Lespinasse improved the golo
command line interface:
- most commands can now support both files and folders, e.g.,
golo doc samples/
- help on individual commands is now available using the
--usage
flag, such as in:golo --usage run
.
ctags generation
Yannick Loiseau improved the golo doc
command to generate ctags
, which is useful with certain
text editors.
This will especially appeal to the fans of the venerable Vim, but people who prefer to hurt their brains and fingers with Emacs will also enjoy this feature.
Fixes and improvements
Many documentation typos have been fixed, and some missing parts have been added, such as small sections for standard modules that where already documented in golodocs.
Yannick Loiseau fixed some compilation error message bugs, too.
Alexis Thomas improved some test portions, and Philippe Charrière contributed his share of goodness.
Until next time…
…have fun!