skip to main content
10.1145/1094855.1094940acmconferencesArticle/Chapter ViewAbstractPublication PagessplashConference Proceedingsconference-collections
Article

Inferring context-free grammars for domain-specific languages

Published:16 October 2005Publication History

ABSTRACT

We propose a new application area for grammar inference which intends to make domain-specific language development easier and finds a second application in renovation tools for legacy systems. We use the genetic programming approach for grammatical inference and propose the use of frequent sequences, syntax graphs and incremental construction of grammars in order to be able to infer a more comprehensive set of context-free grammars.

References

  1. Crepinšek, M., Mernik, M., Bryant, B.R., Javed, F., and Sprague, A. Inferring Context-Free Grammars for Domain-Specific Languages, LDTA 2005,, pp. 64 -- 81, 2005Google ScholarGoogle Scholar
  2. Cichello, O., and Kremer, S. C. Inducing Grammars from Sparse Data Sets: A Survey of Algorithm and Results. JMLR, Vol. 4, pp. 603 -- 632, 2003, MIT Press. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. Gold, E. M. Language Identification in the Limit. Information and Control, 10:447--474, 1967.Google ScholarGoogle ScholarCross RefCross Ref
  4. Han, J., and Kamber, M., Data Mining: Concepts and Techniques, Morgan-Kaufmann Publishers, 2001. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. Lämmel, R., and Verhoef, C. Semi-automatic grammar recovery. Software -- Practice & Experience, 31(15):1395--1438, December 2001. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. Langdon, W.B., Genetic Programming and Data Structures, Kluwer Academic Publishers, 1998. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. Mernik, M., Lenic, M., Avdicausevic, E., Žumer, V., LISA: An Interactive Environment for Programming Language Development, 11th International Conference on Compiler Construction, CC'2002, LNCS, Vol. 2304, pp. 1 -- 4, 2002. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. van Deursen, A., Klint, P., and Visser, J. Domain-Specific Languages: An Annotated Bibliography. ACM SIGPLAN Notices, 35(6):26--36, 2000. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Inferring context-free grammars for domain-specific languages

    Recommendations

    Comments

    Login options

    Check if you have access through your login credentials or your institution to get full access on this article.

    Sign in
    • Published in

      cover image ACM Conferences
      OOPSLA '05: Companion to the 20th annual ACM SIGPLAN conference on Object-oriented programming, systems, languages, and applications
      October 2005
      406 pages
      ISBN:1595931937
      DOI:10.1145/1094855

      Copyright © 2005 ACM

      Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      • Published: 16 October 2005

      Permissions

      Request permissions about this article.

      Request Permissions

      Check for updates

      Qualifiers

      • Article

      Upcoming Conference

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader