c0a4b41afe
The update script would only fetch the few grammars listed in the tree-sitter repository previously. But the tree-sitter github orga has a rather large amount of officially supported grammars. Thus we change the script to query the github APIs for repositories instead (up to 100 this is supported without paging). Since the repository list also contains some that are not grammars, there is a bash script which lists all repos we are aware of and the ones we want to ignore. It will make sure we don’t forget any repositories in the future, by comparing to the actual list with jq. |
||
---|---|---|
.. | ||
antlr | ||
bison | ||
bisonc++ | ||
byacc | ||
flex | ||
flexc++ | ||
hammer | ||
jikespg | ||
jshon | ||
lemon | ||
peg | ||
ragel | ||
re2c | ||
tree-sitter |