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

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

> Hacker News story 50727375 · language: en · submitted 2026-12-02
> Web version: https://zeli.app/story/50727375
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 4 · by [joisig](<https://news.ycombinator.com/user?id=joisig>) · 💬 2
[original](<https://joisig.com/code-like-a-viking>) · [HN discussion](<https://news.ycombinator.com/item?id=50727375>)

## Summary

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.

## Key quote

> 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?

---

## Cite

- Page: https://zeli.app/story/50727375
- Date: 2026-12-02
- Source: joisig.com (https://joisig.com/code-like-a-viking)
- Hacker News: https://news.ycombinator.com/item?id=50727375

## Other languages

- zh: https://zeli.app/zh/story/50727375 · markdown: https://zeli.app/zh/story/50727375.md
- ja: https://zeli.app/ja/story/50727375 · markdown: https://zeli.app/ja/story/50727375.md
- ko: https://zeli.app/ko/story/50727375 · markdown: https://zeli.app/ko/story/50727375.md
- de: https://zeli.app/de/story/50727375 · markdown: https://zeli.app/de/story/50727375.md
- es: https://zeli.app/es/story/50727375 · markdown: https://zeli.app/es/story/50727375.md
- ru: https://zeli.app/ru/story/50727375 · markdown: https://zeli.app/ru/story/50727375.md
