TuProlog

TuProlog

Infobox Software
name = tuProlog
logo =


caption =
developer = [http://www.alice.unibo.it aliCE Research Group]
latest_release_version = 2.1
latest_release_date = 20 April 2007
operating_system = Cross-platform
use = text editor
license = GNU Lesser General Public License
website = [http://tuprolog.alice.unibo.it tuProlog Home Page]

tuProlog (also called 2P) is a Java-based light-weight Prolog engine developed at the [http://www.unibo.it/ "Alma Mater Studiorum" - Università di Bologna] , and maintained by the [http://www.alice.unibo.it/ aliCE Research Group] based in Cesena, at the [http://www.ing2.unibo.it/ Second Faculty of Engineering] , with some members working at the [http://www.ing.unibo.it/ Faculty of Engineering] located in Bologna.

tuProlog has been designed to be one of the basic bricks of Internet applications and infrastructures; this purpose has dictated its main characteristics, such as deployability, lightness, dynamic configurability, integration with Java and ease of interoperability.

"Deployability" of tuProlog owes a lot to Java. Requirements for tuProlog installation simply amount to the presence of a standard Java VM, and a Java invocation upon a single JAR file is everything needed to start a tuProlog activity.

tuProlog is also designed with "minimality" in mind. So, the tuProlog core is a tiny Java object that contains only the most essential properties of a Prolog engine. Only the required Prolog features (e.g. I/O predicates, DCG operators) are then to be added to or removed from a tuProlog engine according to the contingent application needs.

The counterpart of minimality is "configurability". In fact, a simple yet powerful mechanism is required to load and unload useful predicates, functors and operators in a tuProlog engine, both statically and dynamically. This is provided by the notion of "tuProlog library", which can be either defined in the standard tuProlog distribution, or defined ad hoc by the tuProlog user or developer. A tuProlog library can be built using either Prolog, or Java, or both languages, and can be either used to configure a tuProlog engine when this is started up, or loaded (and then unloaded) dynamically at any time during the engine execution.

"Integration with Java" aims at letting developers create components of a tuProlog application by choosing at any step the most suitable paradigm (either declarative/logic or imperative/object-oriented). From the Prolog side, thanks to the JavaLibrary library, any Java entity (object, class, package) can be represented as a Prolog term and exploited from Prolog. So, for instance, Java packages like Swing and JDBC can be directly used from within Prolog, straightforwardly enhancing tuProlog with graphics and database access capabilities. From the Java side, a tuProlog engine can be invoked and used as a simple Java object, possibly embedded in beans, or exploited in a multi-threaded context, according to the application needs. Also, a multiplicity of different tuProlog engines can be used from a Java program at the same time, each one configured with its own libraries and knowledge base.

Finally, "interoperability" is developed along two main lines: Internet standard patterns, and coordination models. So, tuProlog supports interaction via TCP/IP and RMI, and can be also provided as a CORBA service. In addition, tuProlog supports tuple-based coordination under many forms. First, components of a tuProlog application can be organised around Java-based tuple spaces, logic tuple spaces, and [http://www.alice.unibo.it/respect/ ReSpecT] tuple centres. Then, tuProlog applications can exploit Internet infrastructures providing tuple-based coordination services, like [http://lia.deis.unibo.it/research/LuCe/ LuCe] and [http://www.alice.unibo.it/tucson/ TuCSoN] .

tuProlog is an Open Source project released under the LGPL. As such, [http://www.gentoo-portage.com/dev-lang/tuprolog it has been packaged for the Gentoo Linux distribution] .

References

* Enrico Denti, Andrea Omicini, Alessandro Ricci, [http://dx.doi.org/10.1016/j.scico.2005.02.001 Multi-paradigm Java–Prolog integration in tuProlog] , Science of Computer Programming 57(2), Elsevier Science B.V., August 2005.
* Enrico Denti, Andrea Omicini, Alessandro Ricci, [http://www.springerlink.com/content/a7uk22phw91bc0rk/?p=d8431cf295b74853ac6e7e07855384dc&pi=12 tuProlog: A Light-Weight Prolog for Internet Applications and Infrastructures] , Practical Aspects of Declarative Languages, 3rd International Symposium (PADL 2001), Las Vegas, NV, USA, 11-12 March 2001. Proceedings. LNCS 1990, Springer-Verlag, 2001.

External links

* [http://tuprolog.alice.unibo.it/ The tuProlog website]
* [http://www.alice.unibo.it/ The aliCE Research Group website]
* [http://www.alice.unibo.it/respect/ The ReSpecT logic-based coordination language website]
* [http://www.alice.unibo.it/tucson/ The TuCSoN infrastructure for the coordination of Internet agents]

ee also

*Prolog


Wikimedia Foundation. 2010.

Игры ⚽ Поможем написать реферат

Look at other dictionaries:

  • Пролог (язык программирования) — У этого термина существуют и другие значения, см. Пролог. Пролог Семантика: логическое программирование Появился в: 1972 Автор(ы): Alain Colmerauer Расширение файлов: .pl .pro .P …   Википедия

  • Prolog — infobox programming language paradigm = Logic programming year = 1972 designer = Alain Colmerauer implementations = BProlog, ECLiPSe, Ciao Prolog, GNU Prolog, Quintus, SICStus, Strawberry, SWI Prolog, YAP Prolog, tuProlog dialects = ISO Prolog,… …   Wikipedia

  • Comparison of Prolog implementations — The following Comparison of Prolog implementations provides a reference for the relative feature sets and performance of different implementations of the Prolog computer programming language. Contents 1 Main features 2 Operating system and Web… …   Wikipedia

  • Prolog (Programmiersprache) — Prolog Paradigmen: logisch, deklarativ, oft auch constraintbasiert Erscheinungsjahr: 1972 Designer: Alain Colmerauer Entwickler: Philippe Roussell …   Deutsch Wikipedia

  • ISO 13211-1 — Prolog Pour les articles homonymes, voir Prolog (homonymie). Prolog est l’un des principaux langages de programmation logique. Le nom Prolog est un acronyme de PROgrammation LOGique. Il a été créé par Alain Colmerauer et Philippe Roussel vers… …   Wikipédia en Français

  • PROLOG — Pour les articles homonymes, voir Prolog (homonymie). Prolog est l’un des principaux langages de programmation logique. Le nom Prolog est un acronyme de PROgrammation LOGique. Il a été créé par Alain Colmerauer et Philippe Roussel vers 1972. Le… …   Wikipédia en Français

  • Prolog — Pour les articles homonymes, voir Prolog (homonymie). Prolog Apparu en 1972 Auteur …   Wikipédia en Français

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”