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

Datalog as a pointcut language in aspect-oriented programming

Published: 22 October 2006 Publication History

Abstract

AspectJ's pointcut language is complex, yet often not expressive enough to directly capture a desired property. Prolog has been suggested as an alternative, but Prolog queries may not terminate, and they tend to be verbose. We solve expressiveness, termination and verbosity by using Datalog plus rewrite rules.

References

[1]
XSB. http://xsb.sourceforge.net/.
[2]
Hervé Gallaire and Jack Minker. Logic and Databases. Plenum Press, New York, 1978.
[3]
Kris Gybels and Johan Brichau. Arranging language features for more robust pattern-based crosscuts. In 2nd International AOSD Conference, pages 60--69. ACM Press, 2003.
[4]
Elnar Hajiyev, Mathieu Verbaere, and Oege de Moor. Codequest: scalable source code queries with Datalog. In Dave Thomas, editor, Proceedings of ECOOP 2006, Lecture Notes in Computer Science. Springer, 2006.
[5]
Gregor Kiczales, Erik Hilsdale, Jim Hugunin, Mik Kersten, Jeffrey Palm, and William G. Griswold. An overview of AspectJ. In J. Lindskov Knudsen, editor, Proceedings of ECOOP 2001, volume 2072 of Lecture Notes in Computer Science, pages 3270--353. Springer, 2001.
[6]
Edward McCormick and Kris De Volder. JQuery: finding your way through tangled code. In Companion to the 19th annual ACM SIGPLAN OOPSLA'04 conference, pages 9--10, New York, NY, USA, 2004. ACM Press.
[7]
Eelco Visser. Meta-programming with concrete object syntax. In Generative programming and component engineering (GPCE), pages 299--315, 2002.

Index Terms

  1. Datalog as a pointcut language in aspect-oriented programming

    Recommendations

    Comments

    Information & Contributors

    Information

    Published In

    cover image ACM Conferences
    OOPSLA '06: Companion to the 21st ACM SIGPLAN symposium on Object-oriented programming systems, languages, and applications
    October 2006
    530 pages
    ISBN:159593491X
    DOI:10.1145/1176617
    • General Chair:
    • Peri Tarr,
    • Program Chair:
    • William R. Cook
    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]

    Sponsors

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 22 October 2006

    Permissions

    Request permissions for this article.

    Check for updates

    Author Tags

    1. aspect-oriented programming
    2. datalog
    3. pointcut sematics
    4. semantic pointcuts

    Qualifiers

    • Article

    Conference

    OOPSLA06
    Sponsor:

    Upcoming Conference

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • 0
      Total Citations
    • 280
      Total Downloads
    • Downloads (Last 12 months)1
    • Downloads (Last 6 weeks)0
    Reflects downloads up to 24 Dec 2024

    Other Metrics

    Citations

    View Options

    Login options

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media