Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move writing scheme details out of logic #18

Open
psvenk opened this issue Aug 5, 2020 · 0 comments
Open

Move writing scheme details out of logic #18

psvenk opened this issue Aug 5, 2020 · 0 comments

Comments

@psvenk
Copy link
Collaborator

psvenk commented Aug 5, 2020

Currently, certain details that pertain to certain writing schemes are hard-coded into sanscript.js — for example, roman schemes are distinguished from Brahmic schemes by running addRomanScheme on schemes from a hard-coded list of roman schemes, and the Kolkata and itrans_dravidian romanizations are implemented in terms of IAST and ITRANS respectively which complicates the implementation of Sanscript and keeps scheme details in the otherwise scheme-agnostic code instead of in the scheme descriptions (code reference).

Moving this out of the logic eases maintenance of Sanscript implementations in multiple languages and more cleanly separates code from data, in the same vein as #13.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant