Hávamál - Viking poetry programming language for Advent of Code

Show HN: Code like a Viking (Hávamál programming language)

Hávamál - Viking poetry programming language for Advent of Code

Hávamál is a new concatenative programming language inspired by APL and Joy, where code must follow ljóðháttur form with alliteration and a specific metre. Created after Advent of Code 2026 felt too easy with AI, it turns puzzle-solving into an art of beauty as well as correctness. You write programs using Heiti commands, fitting them to poetic constraints. A simpler internal representation called Kjarni helps you start. Try it in the online editor—no data leaves your browser—or run from the GitHub repo. It includes priority queues named Dísir, memoized functions, and bitwise operations, verified against AoC 2020 solutions.

Wouldn’t it be fun if there was a brand new puzzle language to write solutions in, where it’s not only a question of correctness but also of beauty?
  1. pi-rat

    Obligatory Fjölnir: https://en.wikipedia.org/wiki/Fj%C3%B6lnir_(programming_lang...

  2. SiempreViernes

    The obvious objection being that modern Islandic is not the primary language of the history Viking cultures.

  3. _tardigrade_

    code is no longer meant to be read by humans though

More from this day

2026-12-02