tree-sitter-awk
TypeScript icon, indicating that this package has built-in type declarations

0.7.1 • Public • Published

tree-sitter-awk

tests npm

GNU AWK grammar for tree-sitter.

Development

Install the dependencies:

yarn

Although grammar is basically a JS file you can still benefit from types (references, go to implementation, renames...).

To build types in watch mode:

yarn types:watch

Test:

yarn test

To ease generating test results create a fragment code in some file and run:

npx tree-sitter parse <your_file> | yarn -s trim

You can simplify process further by piping result into xclip or alike.

References

/tree-sitter-awk/

    Package Sidebar

    Install

    npm i tree-sitter-awk

    Weekly Downloads

    222

    Version

    0.7.1

    License

    MIT

    Unpacked Size

    3.51 MB

    Total Files

    17

    Last publish

    Collaborators

    • beaglefoot