Expand description
§dsq-filter
A filter system for dsq that operates at the AST level, providing jq-compatible filter operations for structured data processing.
This crate provides:
- AST-based filter compilation and execution
- jq-compatible syntax support
- DataFrame and JSON data processing
- Built-in functions and operations
- Comprehensive testing against real examples
Re-exports§
pub use compiler::CompiledFilter;pub use compiler::FilterCompiler;pub use compiler::OptimizationLevel;pub use context::CompilationContext;pub use context::ErrorMode;pub use context::FilterContext;pub use context::FunctionBody;pub use context::FunctionDef;pub use executor::ExecutionMode;pub use executor::ExecutionResult;pub use executor::ExecutionStats;pub use executor::ExecutorConfig;pub use executor::FilterExecutor;
Modules§
- compiler
- Filter compiler for dsq
- context
- Filter execution context for dsq
- executor
- Filter execution engine for dsq
Structs§
- Builtin
Registry - Registry of built-in functions
Enums§
- Value
- Re-export commonly used types from dsq-shared
Functions§
- compile_
filter - Convenience function to compile a filter string
- execute_
filter - Convenience function to execute a filter string on a value
Type Aliases§
- Result
- Result type alias for DSQ operations