Extracting grammar from programs: evolutionary approach

  • Authors:
  • Matej Črepinšek;Marjan Mernik;Faizan Javed;Barrett R. Bryant;Alan Sprague

  • Affiliations:
  • University of Maribor, Maribor, Slovenia;University of Maribor, Maribor, Slovenia;The University of Alabama at Birmingham, Birmingham, AL;The University of Alabama at Birmingham, Birmingham, AL;The University of Alabama at Birmingham, Birmingham, AL

  • Venue:
  • ACM SIGPLAN Notices
  • Year:
  • 2005

Quantified Score

Hi-index 0.01

Visualization

Abstract

The paper discusses context-free grammar (CFG) inference using genetic-programming with application to inducing grammars from programs written in simple domain-specific languages. Grammar-specific heuristic operators and non-random construction of the initial population are proposed to achieve this task. Suitability of the approach is shown by small examples where the underlying CFG's are successfully inferred.