mirror of
https://github.com/safishamsi/graphify.git
synced 2026-07-23 15:51:44 +00:00
Move the blade/elixir/razor/zig extractors and the shared primitives (_make_id, _file_stem, _read_text, _LANGUAGE_BUILTIN_GLOBALS) out of the 13k-line extract.py into a graphify/extractors/ package: base.py holds the shared pieces, one module per language, and __init__ seeds a LANGUAGE_EXTRACTORS registry for future dispatch. Import direction is strictly extract.py -> extractors/ (extractors never import extract), so there is no cycle. extract.py re-exports every moved name, leaving all callers and the dispatch table unchanged. Ported from PR #1291 by @TheFedaikin onto current v8 as a thin, behavior-neutral slice (the PR itself was branched 31 commits behind and entangled with unrelated files). Verified the moved code is byte-identical to current v8 before porting; full suite 2393 passed, the zig/elixir/razor/blade extractor tests pass, ruff and skillgen --check clean. Also gitignores .DS_Store. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
43 lines
894 B
Plaintext
43 lines
894 B
Plaintext
venv/
|
|
.venv/
|
|
env/
|
|
__pycache__/
|
|
*.pyc
|
|
*.egg-info/
|
|
.eggs/
|
|
dist/
|
|
build/
|
|
.pytest_cache/
|
|
.mypy_cache/
|
|
.ruff_cache/
|
|
*.so
|
|
*.egg
|
|
.graphify/
|
|
graphify-out/
|
|
.graphify_*.json
|
|
.graphify_python
|
|
.claude/
|
|
skills/
|
|
# The packaged skill bundles under graphify/skills/ are generated, committed
|
|
# artifacts (rendered by tools/skillgen). Keep them tracked even though the
|
|
# broad skills/ rule above ignores install-target skill dirs elsewhere.
|
|
!graphify/skills/
|
|
!graphify/skills/**
|
|
# The skillgen core fragments are the human-edited source of the lean SKILL.md.
|
|
# A global "core" ignore (for core dumps) would otherwise drop them.
|
|
!tools/skillgen/fragments/core/
|
|
!tools/skillgen/fragments/core/**
|
|
docs/superpowers/
|
|
.vscode/
|
|
.kilo
|
|
openspec/
|
|
# Local benchmark scripts — never commit
|
|
scripts/run_k2_*.py
|
|
scripts/llm.py
|
|
scripts/benchmark_kimi*.json
|
|
scripts/benchmark_kimi*.py
|
|
paper/
|
|
|
|
# macOS Finder metadata
|
|
.DS_Store
|