Skip to content

smc/payyans-go

Repository files navigation

payyans

Note: This repo's canonical source is at https://gitlab.com/smc/payyans-go. Contributions should be done in the canonical source. If you're seeing this from somewhere else, note that it's a mirror.

This is the Go port of payyans and freaknz together as a shared library. The goal is the logic abstraction through a shared library.

Usage

By default the payyanscli binary comes with some font map files. See list of fonts:

payyanscli -fonts

Convert:

# Output to terminal
./payyanscli -font ML-TTKarthika file-to-convert.txt

# Output to a file
./payyanscli -font ML-TTKarthika file-to-convert.txt output-file.txt

See payyanscli -h for more.

Development

go run cli.go -font ML-TTKarthika.map file-to-convert.txt
make test

Goals

  • ASCII to Unicode conversion
  • Write more unit tests for ASCII to Unicode conversion
  • Unicode to ASCII conversion
  • Include all the Malayalam ASCII fonts
  • Shared library
  • Make a WASM web app