initial commit

This commit is contained in:
2026-03-04 20:24:33 -08:00
commit bb510fea4a
39 changed files with 14640 additions and 0 deletions

12
bindings/python/tests/test_binding.py generated Normal file
View File

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