GrayJack / tree-sitter-janet

A tree-sitter grammar parser for Janet
BSD 3-Clause "New" or "Revised" License
16 stars 3 forks source link

Make expr optional in specials #5

Closed sogaiu closed 4 years ago

sogaiu commented 4 years ago

Here's a draft PR.

I tested it against most of the janet repositories I have collected locally.

FWIW, the command I use for that is something like:

find ~/src/janet-repositories -type f -regex '.*\.janet$' -print0 | xargs -0 npx tree-sitter parse --quiet | wc -l