Nauticus / tree-sitter-pug

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tree-sitter-pug

This is a tree-sitter parser grammar for the pug language.

For now this is intended to be used for a vue+pug setup, as the control flow operations aren't recognized by the parser (since they are not used in conjunction with vue).

Contributing

If you'd like to contribute the missing grammar, feel free to fork/PR:

currently missing:

To add tests, check out ./test/corpus/*.txt

How to run & test:

npm install -g tree-sitter-cli
tree-sitter generate && tree-sitter test

About

License:MIT License


Languages

Language:C 87.8%Language:C++ 4.7%Language:Rust 3.7%Language:JavaScript 3.1%Language:Python 0.4%Language:Pug 0.3%