@zaml/parser
TypeScript icon, indicating that this package has built-in type declarations

0.7.1 • Public • Published

zaml-parser

Javascript tokenizer & lexer for ZAML.

Thanks to Github ❤️ ci is integrated with Github Actions

Install

npm install @zaml/parser
# or
yarn add @zaml/parser

API Documentation

Checkout API Documentation

Usage

zaml.parse(text:string):Node

Parse a ZAML source code, and returns the root node of AST

Example

import zaml from 'zaml-parser';
const node = zaml.parse('Hello World!');
console.log(node);

Test

yarn test

Test with more info of tokenizing

DEBUG=verbose yarn test

License

MIT

/@zaml/parser/

    Package Sidebar

    Install

    npm i @zaml/parser

    Weekly Downloads

    3

    Version

    0.7.1

    License

    MIT

    Unpacked Size

    496 kB

    Total Files

    46

    Last publish

    Collaborators

    • funkysamuel37
    • crapthings
    • nexushubs
    • alphakevin