Files
Nathan Broadbent 50b1f94d84 feat: Add GDScript language support for Godot Engine
Add support for detecting duplicate code in GDScript (.gd) files used
by the Godot game engine. GDScript is a Python-like language with its
own keywords and syntax.

Changes:
- Add gdscript format with .gd extension to formats.ts
- Create custom grammar for GDScript tokenization including:
 - Comments (#)
 - Strings (single/double/triple quotes)
 - Annotations (@onready, @export, etc.)
 - GDScript keywords (func, signal, extends, class_name, var, const, etc.)
 - Built-in types (Vector2, Vector3, Dictionary, Array, etc.)
 - Operators (:=, ->, etc.)
- Register grammar in grammar-loader.ts
- Add test fixtures

Fixes #758

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-26 00:06:42 +13:00
..