Programming by Example (PBE) is a program synthesis paradigm where the specification is provided as a set of concrete input-output pairs. The system's core task is to infer a general program—often in a Domain-Specific Language (DSL)—that correctly produces the given outputs from the corresponding inputs. This approach is highly accessible, allowing users without programming expertise to automate repetitive data transformation tasks, such as formatting text or cleaning spreadsheets, by simply demonstrating a few desired corrections.
