feat: init lang

This commit is contained in:
2025-10-17 21:07:51 +08:00
commit 65da635196
38 changed files with 1890 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
from unittest import TestCase
from tree_sitter import Language, Parser
import tree_sitter_emm
class TestLanguage(TestCase):
def test_can_load_grammar(self):
try:
Parser(Language(tree_sitter_emm.language()))
except Exception:
self.fail("Error loading Emm grammar")