Skip to content
mar edited this page May 16, 2023 · 7 revisions

Welcome to the harlock language wiki!

Harlock is a small language with a focus on binary data manipulation and data embedding in executables, mainly usable as a scripting language for binaries post-processing. It is based around the ideas discussed in the Writing An Interpreter In Go book by Thorsten Ball.

Why a language?

This is an experiment based on a hobby project combined with a real use case that I had.

The ihex parser is pretty complete and I have an experimental project where I have partially ported it to C as a standalone library. This is something that I'm thinking of doing too for the core go sub-package.

One big advantage of having a small simple DSL is that it's quick and easy to just write a 4-5 line script, that you can then insert into your build pipeline.

Clone this wiki locally