"If a worker wants to do his job well, he must first sharpen his tools." - Confucius, "The Analects of Confucius. Lu Linggong"
Front page > Programming > harlock v.eleased

harlock v.eleased

Published on 2024-08-01
Browse:557

harlock v.eleased

It is with immense pleasure that I announce that version 0.5.1 off the harlock scripting language is out!

Here is the detailed release log, with a list the artifacts to install the language on debian-like systems, or directly a binary for the supported architectures.

Release note artifacts @github/Abathargh/harlock

Build from source

Notice that you can always compile and install harlock by executing:

go install github.com/Abathargh/harlock/cmd/harlock

or:

git clone https://github.com/Abathargh/harlock
make install

Release details

This v0.5.1 release is a bugfix one, that solidifies harlock usage within build pipelines.

The main issues that were tackled are:

  • Correctly handling runtime and evaluation errors being raised at the top-level scope to trigger a non-zero error code. This led to silent errors being passed inside of pipelines using harlock.
  • Drop support for go 1.15 unsupported targets.
  • Adding previously missing .exe suffix for windows executable names when cross-compiling for windows on non-windows
  • Minor fixes to .gitignore and Makefile.

Last couple of releases included a new error system which was thoroughly tested and fixing it is the main reason for v0.5.1.

Usage and new developments

I've been using harlock a lot to test the avr_io nim library that I work on, alongside personal projects where I need firmware to be updated over the wire/air with huge success.

A nice working project using the language can be found in the bootloader example for avr_io, where it is used to showcase the library capabilities when writing bootloaders for embedded applications.

I wrote an in-depth article on how to use harlock for these kind of scenarios on antima at the following link.

Release Statement This article is reproduced at: https://dev.to/abathargh/harlock-v051-released-15l3?1 If there is any infringement, please contact [email protected] to delete it
Latest tutorial More>

Disclaimer: All resources provided are partly from the Internet. If there is any infringement of your copyright or other rights and interests, please explain the detailed reasons and provide proof of copyright or rights and interests and then send it to the email: [email protected] We will handle it for you as soon as possible.

Copyright© 2022 湘ICP备2022001581号-3