You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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 runningaddRomanScheme
on schemes from a hard-coded list of roman schemes, and the Kolkata anditrans_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.
The text was updated successfully, but these errors were encountered: