CoffeeScript language package (de.h-dv.coffeescript): symbols and references for .coffee #330

Closed
opened 2026-10-07 09:33:42 +02:00 by buildagent · 1 comment
Member

Consolidated scope (triage 2026-11-09)

Priority: Low: blocked by #518 (without it a new language gets name-only resolution).


Original report

Low priority. Requested after a field report from zammad-dev (#328): a Zammad 7.0.2 fork has 660 .coffee files, and its whole legacy UI is written in CoffeeScript.

Scope

  • A first-party package, built like the other language packages:
    • a tree-sitter grammar (survey the community grammars for one that is maintained and licensed for reuse);
    • a sandboxed guest extractor;
    • graded fixtures and a declared profile;
    • its own leg in package-ci.yml (#318 phase 2).
  • Symbols to extract: classes (class Foo extends Bar), methods (name: -> / => in a class body), top-level function assignments, and @-members.
  • References to extract: calls, new, extends, and member access.
  • No host change is expected. If one turns out to be needed, it has to be a generic mechanism, not CoffeeScript-specific.

Not in scope

  • Text-only coverage of .coffee. That is #328, the generic per-repo text-extension opt-in in the host.
  • .eco / .jst.eco templates. They are an embedded-language format (CoffeeScript inside markup), so they need #275, the same as Vue.

Acceptance

  • Index the Zammad 7.0.2 sources and report symbol/ref counts and resolution per kind.
  • Phantom audit on a sample of binds.
  • Cold-index cost against the 1.2x budget, measured the same way as the other packages.
## Consolidated scope (triage 2026-11-09) **Priority: Low**: blocked by #518 (without it a new language gets name-only resolution). --- ## Original report Low priority. Requested after a field report from zammad-dev (#328): a Zammad 7.0.2 fork has 660 `.coffee` files, and its whole legacy UI is written in CoffeeScript. ## Scope - A first-party package, built like the other language packages: - a tree-sitter grammar (survey the community grammars for one that is maintained and licensed for reuse); - a sandboxed guest extractor; - graded fixtures and a declared profile; - its own leg in `package-ci.yml` (#318 phase 2). - Symbols to extract: classes (`class Foo extends Bar`), methods (`name: ->` / `=>` in a class body), top-level function assignments, and `@`-members. - References to extract: calls, `new`, `extends`, and member access. - No host change is expected. If one turns out to be needed, it has to be a generic mechanism, not CoffeeScript-specific. ## Not in scope - Text-only coverage of `.coffee`. That is #328, the generic per-repo text-extension opt-in in the host. - `.eco` / `.jst.eco` templates. They are an embedded-language format (CoffeeScript inside markup), so they need #275, the same as Vue. ## Acceptance - Index the Zammad 7.0.2 sources and report symbol/ref counts and resolution per kind. - Phantom audit on a sample of binds. - Cold-index cost against the 1.2x budget, measured the same way as the other packages.
Author
Member

Merged into #518.
No CoffeeScript package implementation is verified; the closed profiles in core/src/lang_profile.rs still block the requested route.
Remaining: First new language: CoffeeScript, after Package ecosystem and profiles / Generic evidence channel.

Merged into #518. No CoffeeScript package implementation is verified; the closed profiles in core/src/lang_profile.rs still block the requested route. Remaining: First new language: CoffeeScript, after Package ecosystem and profiles / Generic evidence channel.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
h-dv/code-index#330
No description provided.