lisan-compiler
v0.1.1
Published
Lisan compiler compiles Translations into Dictionaries
Downloads
80
Maintainers
Readme
Lisan Compiler
Lisan Compiler is a javascript library created to improve development experience with Lisan.
It helps you to compile Translations into Dictionaries.
You can also parse a single Lisan Literal via
parseLisanLiteral
function.
Installation
You can install lisan from the sources below, as you see fit.
from npm
npm install lisan-compiler --save-dev
from CDN
<script src="https://unpkg.com/lisan-compiler/dist/index.umd.js" type="text/javascript"></script>
After adding the script tag above,
Lisan Compiler instance will be accessible via
window.lisanCompiler
variable.
Usage:
<script
src="https://unpkg.com/lisan-compiler/dist/index.umd.js"
type="text/javascript"
></script>
<script type="text/javascript">
(() => {
const { parseLisanLiteral, parse, generate } = window.lisanCompiler;
})();
</script>
Methods
For the full list of methods, see Lisan Compiler API.
Compatibility
| Platform | IE | Edge | Firefox | Chrome | Nodejs | | -------- | --- | ---- | ------- | ------ | ------ | | Version | 11 | All | All | All | 10+ |
License
This package is MIT licensed.