Abstract. Scenario-Based Programming (SBP) simplifies reactive system development through independent behavioral threads (b-threads). However, the intricate synchronization logic makes manual implementation error-prone.
We propose an approach inspired by Test-Driven Development (TDD) leveraging Large Language Models (LLMs) to synthesize b-threads from natural language. By using existential scenarios as test oracles, our approach proposes a feedback-loop cycle for iterative refinement of generated code.
We outline a roadmap for implementing this workflow, integrating it with industrial SBP practices, and empirically evaluating its effectiveness in real-world scenarios.