ogham

Convert Ogham inscriptions to latin text & vice versa.

Pure Nim score 15/100 · tests present · no docs generated

Summary

Latest Version Unknown
License MIT
CI Status Failing
Downloads 0
Last Indexed 2026-07-21 05:25

Installation

nimble install ogham
choosenim install ogham
git clone https://github.com/stscoundrel/ogham-nim

OS Compatibility

Platform Linux macOS Windows FreeBSD OpenBSD NetBSD Android iOS WASM Embedded
ogham - - - - - - -

Source

Repository https://github.com/stscoundrel/ogham-nim
Homepage https://github.com/stscoundrel/ogham-nim
Registry Source nimble_official

README

Ogham

Convert Ogham inscriptions to latin text & vice versa. Nim version.

Also available in TypeScript and Python

Install

nimble install https://github.com/stscoundrel/ogham-nim

Usage

Text to ogham:

import ogham

# 'Nettasagri, Briaci', from Bridell, Pembrokeshire
const content = "nettasagri maqi mucoe briaci"
let oghamText = ogham.lettersToOgham(content)

echo oghamText) # "᚛ᚅᚓᚈᚈᚐᚄᚐᚌᚏᚔ ᚋᚐᚊᚔ ᚋᚒᚉᚑᚓ ᚁᚏᚔᚐᚉᚔ᚜"

Ogham to text:

import ogham

# 'Cunalegi, descendant of Qunacanos', from Island, Costello, Co Mayo
const content = "᚛ᚉᚒᚅᚐᚂᚓᚌᚔ ᚐᚃᚔ ᚊᚒᚅᚐᚉᚐᚅᚑᚄ᚜"
let result = ogham.oghamToLetters(content)

echo result # "cunalegi avi qunacanos"

About Ogham

Ogham (or ogam) is an Early Medieval alphabet used primarily to write the early Irish language, and later the Old Irish language. Used roughly from 4th to 10th centuries AD.