Skip to content

v1.0.2: Isolated Workspaces + Full Dependency Extraction

Choose a tag to compare

@amuldotexe amuldotexe released this 26 Nov 12:19
· 47 commits to main since this release

🎉 What's New in v1.0.2

1. Automatic Isolated Workspaces 📁

Every ingestion now creates a timestamped workspace directory automatically:

  • Format: parseltongueYYYYMMDDHHMMSS/
  • Database stored inside workspace
  • All exports go to the same workspace
  • Perfect isolation per analysis session

Example:

$ parseltongue pt01-folder-to-cozodb-streamer ./src

📁 Workspace location: parseltongue20251126152416

2. Dependency Extraction Fully Working 🔗

  • Restored dependency query files from v0.9.0
  • Fixed query_extractor.rs to load correct patterns
  • 1,519 edges extracted from parseltongue-core test
  • Function calls, imports, trait implementations all working

Features:

  • Function call graphs (who calls what)
  • Import/use declaration tracking
  • Trait implementation relationships
  • 12 languages supported (Rust, Python, JS, TS, Go, Java, C, C++, Ruby, PHP, C#, Swift)

Performance

  • Ingestion: 67 entities in 480ms
  • Edge extraction: 1,519 dependency edges
  • Workspace size: ~2.7MB per analysis session

Bug Fixes

  • Fixed query_extractor.rs loading wrong query files
  • Fixed database path handling for isolated workspaces
  • Restored missing dependency_queries/ directory

Installation

macOS ARM64

# Download binary
curl -L -o parseltongue https://github.com/that-in-rust/parseltongue-dependency-graph-generator/releases/download/v1.0.2/parseltongue-v1.0.2-macos-arm64

# Make executable
chmod +x parseltongue

# Move to PATH
sudo mv parseltongue /usr/local/bin/

Example Workflow

# Step 1: Ingest codebase (auto-creates workspace)
parseltongue pt01-folder-to-cozodb-streamer ./your-code

# Output shows workspace:
# 📁 Workspace location: parseltongue20251126152416

# Step 2: Export dependency edges
parseltongue pt02-level00 --where-clause "ALL" \
  --output parseltongue20251126152416/edges.json \
  --db "rocksdb:parseltongue20251126152416/analysis.db"

# Result: Full call graph with 1,500+ edges!

Full Changelog

  • feat: Automatic timestamped workspace creation
  • feat: Dependency extraction restored and working
  • fix: query_extractor.rs now loads dependency_queries correctly
  • chore: Restored dependency_queries/ from v0.9.0
  • docs: Added DEPENDENCY-EXTRACTION-HISTORY.md

🤖 Generated with Claude Code