Software agents are characterized by sophisticated messaging capabilities that support distributed problem solving and that provide the basic ingredients for interoperability in open agent-based systems. Jadescript is an agent-oriented programming language that has been recently proposed to offer programmers the abstractions that characterize agents to concretely and effectively support the implementation of complex agent-based systems. As expected, the abstractions that Jadescript provides include native support for the advanced messaging capabilities that characterize agents. This paper describes a recent development of Jadescript that extends the language with a native support for pattern matching designed to simplify the reception of structured messages and to ease the management of complex conversations. The proposed support for pattern matching is intimately correlated with the type system of the language, and it can be used to effectively associate inbound messages with specific handlers. From the point of view of programmers, the proposed support for pattern matching allows clearly expressing the intended scope of message handlers, and it contributes to raise the level of abstraction of the language.

Extending message handlers with pattern matching in the Jadescript programming language / Petrosino, G.; Bergenti, F.. - ELETTRONICO. - 2404:(2019), pp. 113-118. (Intervento presentato al convegno 20th Workshop "From Objects to Agents" (WOA 2019) nel 2019).

Extending message handlers with pattern matching in the Jadescript programming language

Petrosino G.;Bergenti F.
2019-01-01

Abstract

Software agents are characterized by sophisticated messaging capabilities that support distributed problem solving and that provide the basic ingredients for interoperability in open agent-based systems. Jadescript is an agent-oriented programming language that has been recently proposed to offer programmers the abstractions that characterize agents to concretely and effectively support the implementation of complex agent-based systems. As expected, the abstractions that Jadescript provides include native support for the advanced messaging capabilities that characterize agents. This paper describes a recent development of Jadescript that extends the language with a native support for pattern matching designed to simplify the reception of structured messages and to ease the management of complex conversations. The proposed support for pattern matching is intimately correlated with the type system of the language, and it can be used to effectively associate inbound messages with specific handlers. From the point of view of programmers, the proposed support for pattern matching allows clearly expressing the intended scope of message handlers, and it contributes to raise the level of abstraction of the language.
2019
Extending message handlers with pattern matching in the Jadescript programming language / Petrosino, G.; Bergenti, F.. - ELETTRONICO. - 2404:(2019), pp. 113-118. (Intervento presentato al convegno 20th Workshop "From Objects to Agents" (WOA 2019) nel 2019).
File in questo prodotto:
Non ci sono file associati a questo prodotto.

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11381/2870579
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 11
  • ???jsp.display-item.citation.isi??? ND
social impact