#!/usr/bin/env python3 # /// script # requires-python = ">=3.10" # dependencies = [ # "tree-sitter>=0.23", # "tree-sitter-html", # "tree-sitter-javascript", # ] # /// """Generate tags.json: which browser JavaScript APIs each tool uses. Detection is deterministic. Each HTML file is parsed with tree-sitter's HTML grammar, the contents of its inline