Skip to content

DSL checker#580

Merged
FrancescAlted merged 13 commits intomainfrom
dsl-checker
Feb 17, 2026
Merged

DSL checker#580
FrancescAlted merged 13 commits intomainfrom
dsl-checker

Conversation

@FrancescAlted
Copy link
Member

Improve DSL kernels: add syntax diagnostics, enable zero-input shape-based kernels, and expand tutorial coverage.

Introduce strict_miniexpr in lazy compute kwargs to control miniexpr failure handling:

- Default strict_miniexpr=True for DSL kernels
- Default strict_miniexpr=False for non-DSL expressions
- Raise RuntimeError on miniexpr compile/eval failure when strict mode is enabled
- Keep existing silent fallback behavior when strict mode is disabled

Also:

- Document strict_miniexpr in compute() kwargs
- Add tests for DSL strict-by-default failure behavior
- Add tests for non-DSL fallback by default and strict override raising
- Update existing DSL tests that intentionally rely on fallback to pass strict_miniexpr=False
@FrancescAlted FrancescAlted merged commit 8bb44c5 into main Feb 17, 2026
12 of 22 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