Files
codebase-memory-mcp/internal/lang/lua.go
T
Martin Vogel 02bc3b7352 Release v0.3.0: 25 languages, install/update CLI, skills, benchmark
Language expansion (13 → 25):
  Add Ruby, C, Bash, Zig, Elixir, Haskell, OCaml, HTML, CSS, YAML,
  TOML, HCL with tree-sitter grammars and language specs.
  Restore Erlang and SQL with extraction fixes.

CLI install/update/uninstall commands:
  Auto-detect Claude Code and Codex CLI, register MCP server,
  install task-specific skills, self-update with SHA-256 verification.

Embedded skills (4):
  exploring, tracing, quality, reference — auto-trigger in Claude Code
  for graph-first code discovery.

Pipeline improvements:
  Docstring extraction, enrichment pass for params/returns/complexity,
  graceful context cancellation, improved test detection.

35-language benchmark (BENCHMARK.md):
  12 questions × 35 repos, 91.8% overall score, Linux kernel stress
  test (20K nodes, zero timeouts). Replaces old benchmark artifacts.
2026-03-01 18:01:52 +01:00

19 lines
657 B
Go

package lang
func init() {
Register(&LanguageSpec{
Language: Lua,
FileExtensions: []string{".lua"},
FunctionNodeTypes: []string{"function_declaration", "function_definition"},
ClassNodeTypes: []string{},
ModuleNodeTypes: []string{"chunk"},
CallNodeTypes: []string{"function_call"},
ImportNodeTypes: []string{"function_call"},
BranchingNodeTypes: []string{"if_statement", "for_statement", "for_in_statement", "while_statement", "repeat_statement"},
VariableNodeTypes: []string{"variable_declaration"},
AssignmentNodeTypes: []string{"assignment_statement"},
EnvAccessFunctions: []string{"os.getenv"},
})
}