Answers are grounded in this paper and cite their sources.
In this paper we present the design and implementation of a fully automated technique for reverse engineering or recovering a grammar from existing language artifacts. The technique that we describe uses only test cases and a parse tree, and we apply the technique to a dialect of the C++ language. However, given test cases and a parse tree for a language or a dialect of a language, our technique can be used to recover a grammar for the language, including languages such as Java, C, Python or Ruby.
No takes yet. Share an insight, caveat, or question.
Duffy et al. (2007) studied this question.
Synapse has enriched 8 related papers. Consider them for comparative context: