Expand description
Deterministic positive-only CFG inference over delimiter seed trees.
This module is the D5 black-box CFG inference entry point. It consumes the D6 delimiter structural prior, emits the shared grammar IR, and uses the D1 grammar oracle/sampler for acceptance checks.
Re-exports§
pub use super::eval::MembershipOracle;
Structs§
- Inference
Options - Options for
infer_cfg. - Inference
Report - Counts and acceptance decisions recorded during inference.
- Inference
Result - Inferred grammar plus a compact report for evaluation and benchmarking.
- Positive
Only Oracle - Positive-only oracle backed by the in-repository grammar recogniser.
Traits§
- Oracle
- Decides whether an inferred generalisation is acceptable.
Functions§
- infer_
cfg - Infers a deterministic CFG from positive examples.
- infer_
cfg_ with_ advisors - Infers a CFG while routing naming and merge decisions through advisors.