Skip to content

feat: add parser registry and custom format support#124

Merged
zTgx merged 2 commits intomainfrom
dev
Apr 26, 2026
Merged

feat: add parser registry and custom format support#124
zTgx merged 2 commits intomainfrom
dev

Conversation

@zTgx
Copy link
Copy Markdown
Member

@zTgx zTgx commented Apr 26, 2026

Summary

Changes

Checklist

  • Code compiles (cargo build)
  • Tests pass (cargo test --lib --all-features)
  • No new clippy warnings (cargo clippy --all-features)
  • Public APIs have documentation comments
  • Python bindings updated (if Rust API changed)

Notes

Add extensible parser system with trait-based architecture that allows
custom format parsers to be registered alongside built-in Markdown and
PDF support.

BREAKING CHANGE: SourceFormat enum now includes Custom variant and
derive macro changes may affect existing code.

- Introduce Parser trait and ParserRegistry for custom format support
- Add SourceFormat::Custom variant for plugin-resolved formats
- Support pre-parsed raw nodes input to skip parsing stage
- Provide builder methods for PipelineExecutor with custom registries
- Add Python bindings for raw node compilation
- Update documentation with examples for adding custom parsers
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 26, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
vectorless Ready Ready Preview, Comment Apr 26, 2026 1:58pm

- Standardize import order across multiple files to maintain consistency
- Format function definitions and method implementations with proper
  indentation and line breaks
- Refactor error handling chains to be more readable
- Apply consistent code style throughout the parsing modules
- Add documentation for vectorless-code AST parsing, getting started,
  and incremental compilation features
@zTgx zTgx merged commit fbfaee4 into main Apr 26, 2026
7 checks passed
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