Initial commit

This commit is contained in:
2026-01-17 15:37:53 +01:00
commit ccd44c8172
31 changed files with 952 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_mc
class TestLanguage(TestCase):
def test_can_load_grammar(self):
try:
Parser(Language(tree_sitter_mc.language()))
except Exception:
self.fail("Error loading MC grammar")