JSetL: a Java library for supporting declarative programming in Java

  • Authors:
  • G. Rossi;E. Panegai;E. Poleo

  • Affiliations:
  • Dipartimento di Matematica, Università di Parma, Parma, Italy;Dipartimento di Matematica, Università di Parma, Parma, Italy;Dipartimento di Matematica, Università di Parma, Parma, Italy

  • Venue:
  • Software—Practice & Experience
  • Year:
  • 2007

Quantified Score

Hi-index 0.00

Visualization

Abstract

In this paper we present a Java library—called JSetL—that offers a number of facilities to support declarative programming such as those usually found in logic or functional declarative languages: logical variables, list and set data structures (possibly partially specified), unification and constraint solving over sets, non-determinism. The paper describes the main features of JSetL and it shows, through a number of simple examples, how these features can be exploited to support a real declarative programming style in Java. Copyright © 2006 John Wiley & Sons, Ltd.