Abstract
In the area of programming languages, context-free
grammars (CFGs) are of special importance since almost
all programming languages employ CFG's in their design.
Recent approaches to CFG induction are not able to
infer context-free grammars for general-purpose
programming languages. In this paper it is shown that
syntax of a small domain-specific language can be
inferred from positive and negative programs provided
by domain experts. In our work we are using the genetic
programming approach in grammatical inference.
Grammar-specific heuristic operators and nonrandom
construction of the initial population are proposed to
achieve this task. Suitability of the approach is shown
by examples where underlying context-free grammars are
successfully inferred.
Users
Please
log in to take part in the discussion (add own reviews or comments).