Something went wrong. Try again.
AppleScript grammar for tree-sitter
Something went wrong. Try again.
335 B · 12 lines
Python
at main
12345678910111213from unittest import TestCase
from tree_sitter import Language, Parserimport tree_sitter_applescript
class TestLanguage(TestCase): def test_can_load_grammar(self): try: Parser(Language(tree_sitter_applescript.language())) except Exception: self.fail("Error loading AppleScript grammar")