tree-sitter / tree-sitter-go

Go grammar for tree-sitter
MIT License
310 stars 65 forks source link

Generic Makefile #72

Closed mattmassicotte closed 2 years ago

mattmassicotte commented 2 years ago

Since we originally worked on the Makefile for this parser, some others have added one to their repo. The biggest pain point was the inability to easily diff across parsers. This PR ports some great stuff I found from the swift and json parsers back here. This stuff can now be just copied over to other parser repos with no modifications.

My intention is to, after review, make similar PRs for other parsers that have a less-generic Make setup.