Developer Jói Sigurðarson has released Hávamál, an experimental programming language that requires working code to follow Icelandic poetic constraints. The project was created for Advent of Code-style challenges and is designed to make solving a task only half the problem: a program must also fit a prescribed metre and alliterative pattern.

Hávamál is written in ljóðaháttur, a verse form associated with Old Norse poetry, although the language uses wording closer to modern Icelandic. Programmers select commands, called *heiti*, whose wording can satisfy the required alliteration while carrying out the intended operations. The result is code meant to resemble compact proverbial verse while remaining executable.

The language uses a concatenative model in which operations manipulate values on a stack. Sigurðarson cites APL and Joy as technical inspirations. A simpler internal representation named Kjarni is available for developers who want to work out an implementation before translating it into the constrained poetic form.

An online editor allows users to write, run and debug programs in a browser. According to the project's description, execution remains local and no program data leaves the browser. The source is also available in a GitHub repository for people who prefer to run the tooling themselves.

The poetic rules turn ordinary implementation choices into another layer of puzzle solving. Developers may have several words available for an operation, but they must choose commands that both express the algorithm and satisfy the metre. That can require reorganizing a solution even when its underlying logic is already correct.

Sigurðarson tested whether the language could handle typical Advent of Code problems by applying it to a complete set of solutions from the 2020 event. That exercise prompted additions including priority queues, automatically memoized functions and bitwise operations. Some names combine programming references with Icelandic or mythological language; the priority-queue feature, for example, is named Dísir in a nod to Dijkstra's algorithm.

The project is presented as an art experiment and a programming challenge, not as a general replacement for conventional languages. It deliberately adds constraints that mainstream tooling works to remove. The creator says there is still considerable freedom in phrasing, although every choice must remain compatible with the commands available to the language. The combination makes revision part of programming rather than a cosmetic step after the algorithm works. Those constraints are the point: Hávamál asks programmers to consider sound, rhythm and word choice alongside correctness, producing programs that can be judged as crafted verse as well as functioning solutions.