First commit

This commit is contained in:
Evan Dunbar 2024-09-23 20:43:43 -05:00
commit 8e99061065
47 changed files with 9107 additions and 0 deletions

11
bindings/python/tests/test_binding.py generated Normal file
View file

@ -0,0 +1,11 @@
from unittest import TestCase
import tree_sitter, tree_sitter_your_language_name
class TestLanguage(TestCase):
def test_can_load_grammar(self):
try:
tree_sitter.Language(tree_sitter_your_language_name.language())
except Exception:
self.fail("Error loading YourLanguageName grammar")