Doc2Grammar

Read full text
Authors: Xiaoting Fang
Cited by: 0

Abstract

Doc2Grammar is an LLM-based approach that automatically generates test-oriented SQL grammar models from RDBMS documentation.Doc2Grammar operates in the following five phases:1. Document preprocessing: The goal of this phase is to split the documentation into fine-grained text segments.2. Grammar extraction: The goal of this phase is to filter text segments and extract grammar rules.3. IR conversion: The goal of this phase is to analyze the documentation grammar formats and convert them into an intermediate representation.4. Lexical parsing: The goal of this phase is to convert grammar rules into a test-oriented grammar model.5. Context constraint integration: The goal of this phase is to analyze error logs and generate contextual constraints.

Fields of Study & Subjects

Software Testing and Debugging Techniques Software Engineering Research Natural Language Processing Techniques

Publication details

Journal / source
Figshare
Publication date
1 January 2026