Unofficial Hacker News companion — get notified on comment replies, and more.

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

58 points by joisig 2 days ago joisig.com 15 comments (opens Hacker News) Vote (opens Hacker News)

View full thread · View on Hacker News

Comment thread (3)

  1. The obvious objection being that modern Islandic is not the primary language of the history Viking cultures.
    Replies (2)
    1. You're right, but the two are pretty close, most verses of the original Hávamál read as straight Icelandic with some spelling differences and some ancient words that have fallen out of use or have new meanings these days (source: I'm an Icelander).

      The main reason to go with modern Icelandic rather than actual Old Norse was to be able to use BÍN (Beygingarlýsing íslensks nútímamáls) which is credited in the repo and on the playground page. It is a dataset that allows working with Icelandic in all its various declensions and such. The language extracts the Heiti and nouns from that dataset in all declensions and they are all allowed, which means you can write more natural-sounding poems.

    2. Close enough that as a Norwegian who can kinda make out a reasonable part of the meaning of either if I squint right, I can't really tell the difference without some effort.