Re: How to extract grammar from a program?

David Bruce <dib@dera.gov.uk>
15 Feb 1999 23:05:07 -0500

          From comp.compilers

Related articles
How to extract grammar from a program? rahulj@iitk.ac.in (Rahul Jain) (1999-02-05)
Re: How to extract grammar from a program? cfc@world.std.com (Chris F Clark) (1999-02-10)
Re: How to extract grammar from a program? derekross@fisheracre.freeserve.co.uk (Derek Ross) (1999-02-12)
Re: How to extract grammar from a program? eodell@pobox.com (1999-02-15)
Re: How to extract grammar from a program? dib@dera.gov.uk (David Bruce) (1999-02-15)
Re: How to extract grammar from a program? spencer@cc.gatech.edu (1999-02-15)
Re: How to extract grammar from a program? hunk@alpha1.csd.uwm.edu (1999-02-15)
Re: How to extract grammar from a program? hunk@alpha1.csd.uwm.edu (1999-02-15)
Re: How to extract grammar from a program? x@wins.uva.nl (1999-12-09)
| List of all articles for this month |

From: David Bruce <dib@dera.gov.uk>
Newsgroups: comp.compilers
Date: 15 Feb 1999 23:05:07 -0500
Organization: DERA Malvern
References: 99-02-025
Keywords: parse

Rahul Jain wrote:


> I'm working on a project for which I need some information about some
> reverse engineering method that would help me extract the grammar from a
> set of programs (written in any language). A sufficient grammar will be
> the one which is able to parse all the programs.
> Now, the question is - Does there exist some formal theory for getting
> the grammar from a program. Any heuristic approaches would also solve the
> purpose.


I'm not sure whether he's done any more recent work on this, but you could
try the following paper a colleague of mine wrote a couple of years ago:


          Tom Longshaw,
          ``Evolutionary learning of large Grammars'',
          Genetic Programming 1997 Conference, Stanford, California, 13-16
          July 1997.


HTH,


        David Bruce
________________________________________________________________________
post: DERA Malvern, St Andrews Road, Malvern, WORCS WR14 3PS, ENGLAND
mailto:dib@dera.gov.uk ** phone: +44 1684 895112 ** fax: +44 1684 894389


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.