wireapp / text-icu-translit

ICU transliteration for Haskell

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ICU transliteration for Haskell

>>> IO.putStrLn $ transliterate (trans "name-any; ru") "\\N{RABBIT FACE} Nu pogodi!"
🐰 Ну погоди!

>>> IO.putStrLn $ transliterate (trans "nl-title") "gelderse ijssel"
Gelderse IJssel

>>> IO.putStrLn $ transliterate (trans "ja") "Amsterdam"
アムステルダム

Developing

  • to see available outputs (targets), run
    nix flake show --allow-import-from-derivation
  • with flakes and nix command enabled, run
    nix develop -Lv
    to be dropped into a devShell or, alternatively, if you use direnv, run
    direnv allow
  • to build and run the tests, run
    nix build -Lv
  • refer to the flake parts and the haskell flake documentations if you want to change the flake configs

About

ICU transliteration for Haskell

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Haskell 69.3%Language:C 17.8%Language:Nix 12.9%