0.7.1 • Published 2 years ago
tree-sitter-awk v0.7.1
tree-sitter-awk
GNU AWK grammar for tree-sitter.
Development
Install the dependencies:
yarnAlthough 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:watchTest:
yarn testTo ease generating test results create a fragment code in some file and run:
npx tree-sitter parse <your_file> | yarn -s trimYou can simplify process further by piping result into xclip or alike.