Skip to content

feat: add Elixir tree-sitter support#99

Merged
jamestexas merged 4 commits intomainfrom
feat/elixir-support
Mar 16, 2026
Merged

feat: add Elixir tree-sitter support#99
jamestexas merged 4 commits intomainfrom
feat/elixir-support

Conversation

@jamestexas
Copy link
Copy Markdown
Contributor

@jamestexas jamestexas commented Mar 16, 2026

Summary

  • Add Elixir language support (.ex/.exs) via local tree-sitter grammar binding (CGO wrapper around elixir-lang/tree-sitter-elixir)
  • Register extension detection, engine dispatch, reference extraction queries, friendly name mappings, and containment rules
  • Generated parser.c (12MB) tracked via git-lfs
  • Enables mache to parse and project the rosary conductor OTP control plane

Test plan

  • task build — compiles clean
  • task test — all existing tests pass
  • mache build ~/remotes/art/rosary/conductor /tmp/test.db — ingests all 11 conductor Elixir modules
  • Verify mache serve with Elixir project works end-to-end
  • CI passes (ensure LFS is configured in GitHub Actions)

🤖 Generated with Claude Code

jamestexas and others added 2 commits March 15, 2026 22:43
Add Elixir language support (.ex/.exs) via local tree-sitter grammar
binding. Includes:
- Local CGO binding wrapping elixir-lang/tree-sitter-elixir grammar
- Extension detection and engine dispatch for .ex/.exs files
- Reference extraction queries for local and qualified function calls
- Friendly name mappings and containment rules for FCA schema inference
- Generated parser.c tracked via git-lfs (12MB)
- Exclude generated parser.c from large-file pre-commit check

Enables mache to parse and project Elixir codebases, specifically the
rosary conductor OTP control plane.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@jamestexas jamestexas enabled auto-merge (squash) March 16, 2026 04:45
@jamestexas jamestexas disabled auto-merge March 16, 2026 04:46
jamestexas and others added 2 commits March 15, 2026 22:47
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@jamestexas jamestexas merged commit 8140ef0 into main Mar 16, 2026
12 checks passed
@jamestexas jamestexas deleted the feat/elixir-support branch March 16, 2026 05:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant