Gren is a pure functional programmming language that aims to be easy to learn and to reason about, while remaining powerful and portable enough for re

Gren 0.2.1: Testing, testing | Gren

submited by
Style Pass
2023-03-15 13:30:07

Gren is a pure functional programmming language that aims to be easy to learn and to reason about, while remaining powerful and portable enough for real-world use.

The original plan was to not do another release until Gren 0.3 this summer but, while this is still the goal, we've implemented enough functionality to warrant a new release today. The theme for Gren 0.3 is "Testing and Debugging", and Gren 0.2.1 delivers on the first half of this theme.

With Gren 0.2 and earlier, you could only depend on packages which had a semver-formatted tag on github. For users of a package this works pretty well. For developers of a package, there isn't any easy way to test the package in a project prior to publishing the tag.

Gren 0.2.1 adds support for local dependencies. Local dependencies are packages that reside on your local disk. Here's how you define a local dependency:

The above gren.json is taken from the test folder of gren-lang/core. As you can see, gren-lang/core is here defined as local dependency where the package is defined to reside in the parent folder.

Leave a Comment