Skip to content

A set of cross platform utilities for Digital Pāli Tools, usable both on frontend and backend.

License

Notifications You must be signed in to change notification settings

digitalpalitools/pali-language-services

Repository files navigation

Continuous Deployment License: CC BY-NC-SA 4.0 npm latest

Pāli Language Services

Purpose

Define the basics of the Pāli language in code as per the specifications.

This is a cross platform library usable both on frontend and backend.

Features

  • Pāli alphabet
    • Roman script
    • Parsing pāli written in Roman script
    • Compare order for strings
  • Inflections
    • Generate inflection tables
    • Generate all inflected words
  • Publish as npm library
  • Publish on crates.io

Using PLS

  • yarn add @digitalpalitools/pali-language-services --force
  • import * as PSL from '@digitalpalitools/pali-language-services'

Updating PLS

  • cargo clean; cargo build --release; wasm-pack build --scope digitalpalitools --target bundler --release
  • Revert unnecessary changes
  • npm login # dptadmin / digitalpalitools@gmail.com / <passsowrd>
  • wasm-pack publish --access public

Commands

  • Build: cargo clean; cargo build; wasm-pack build --scope digitalpalitools --target bundler
  • Test: cargo test
  • Format: cargo clean; cargo fmt --all -- --check
  • Clippy: cargo clean; cargo clippy --tests --all-targets --all-features -- -D warnings
  • Watch Tests: cargo watch -x test

About

A set of cross platform utilities for Digital Pāli Tools, usable both on frontend and backend.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published