5ucur / hex-sitelen-lasin

A toki pona to tokex converter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hex sitelen Lasin

A toki pona hex encoder, v1.1. Based on Tokex (see below), but encoding will probably diverge.

Takes input once run or via stdin, outputs in text or bytes to stdout, or in bytes to a binary file. Doesn't implement the Tokex full stop conversion as of yet.

Since v1.1, checks for non-toki pona characters and skips them. Regardless, all wrong output is due to wrong input (garbage in, garbage out), and the user's problem (also see license).

v1.1 new features:

  • Checking for non-toki pona characters
  • Stdin from file or console, output to binary file, output in bytes format
  • Input sanitisation
  • Output filename sanitisation (currently not confirmed for Windows!)
  • Help text (shows when run without arguments)

What is Tokex?

Tokex is a hex encoding of the toki pona Latin alphabet, created by Abigail Read. This project's encoding is likely to diverge from Abigail's, if only in minute details. Tokex is licensed under the CC BY 4.0 license.

What is toki pona?

Toki pona is a minimalistic constructed language, made by Sonja Lang. With its orthographic inventory of just 14 letters (aeijklmnopstuw), it easily fits into the sixteen hex digits (0-F). This work is based on the Official Toki Pona Dictionary, which is is in the public domain.

About

A toki pona to tokex converter

License:MIT License


Languages

Language:Python 100.0%