betacode2

Crates.iobetacode2
lib.rsbetacode2
version1.0.6
sourcesrc
created_at2023-07-02 13:43:38.131792
updated_at2024-08-24 12:58:29.437239
descriptionA fast rust library for conversion to and from betacode.
homepage
repositoryhttps://github.com/scripturial/betacode
max_upload_size
id906036
size24,952
Jay (scripturial)

documentation

README

A fast rust library for conversion to and from betacode. Includes support for TLG betacode, and standard betacode.

Examples

Convert Robinson-Pierpont style betacode into unicode Greek:

use betacode2::{Betacode, Type::Default};
let word = "Qeo/v".to_greek(Default).unwrap();

Convert TLG style betacode into unicode Greek:

use betacode2::{Betacode, Type::TLG};
let word = "*qeo/s".to_greek(TLG).unwrap();

The default converter assumes lowercase ascii letters are lowercase Greek letters and uppercase ascii letters are uppercase Greek letters. The TLG converter assumes all letters are always lowercase unless an asterix appears before the letter.

Commit count: 9

cargo fmt