%0 Conference Proceedings %T ARx: Reactive Programming for Synchronous Connectors %+ CISTER [Porto] %+ Universidade do Minho = University of Minho [Braga] %A Proença, José %A Cledou, Guillermina %Z Part 2: Coordination Languages %< avec comité de lecture %( Lecture Notes in Computer Science %B 22th International Conference on Coordination Languages and Models (COORDINATION) %C Valletta, Malta %Y Simon Bliudze %Y Laura Bocchi %I Springer International Publishing %3 Coordination Models and Languages %V LNCS-12134 %P 39-56 %8 2020-06-15 %D 2020 %R 10.1007/978-3-030-50029-0_3 %Z Computer Science [cs] %Z Computer Science [cs]/Networking and Internet Architecture [cs.NI]Conference papers %X Reactive programming (RP) languages and Synchronous Coordination (SC) languages share the goal of orchestrating the execution of computational tasks, by imposing dependencies on their execution order and controlling how they share data. RP is often implemented as libraries for existing programming languages, lifting operations over values to operations over streams of values, and providing efficient solutions to manage how updates to such streams trigger reactions, i.e., the execution of dependent tasks. SC is often implemented as a standalone formalism to specify existing component-based architectures, used to analyse, verify, transform, or generate code. These two approaches target different audiences, and it is non-trivial to combine the programming style of RP with the expressive power of synchronous languages.This paper proposes a lightweight programming language to describe component-based Architectures for Reactive systems, dubbed ARx, which blends concepts from RP and SC, mainly inspired to the Reo coordination language and its composition operation, and with tailored constructs for reactive programs such as the ones found in ReScala. ARx is enriched with a type system and with algebraic data types, and has a reactive semantics inspired in RP. We provide typical examples from both the RP and SC literature, illustrate how these can be captured by the proposed language, and describe a web-based prototype tool to edit, parse, and type check programs, and to animate their semantics. %G English %Z TC 6 %Z WG 6.1 %2 https://inria.hal.science/hal-03274003/document %2 https://inria.hal.science/hal-03274003/file/495623_1_En_3_Chapter.pdf %L hal-03274003 %U https://inria.hal.science/hal-03274003 %~ IFIP-LNCS %~ IFIP %~ IFIP-TC %~ IFIP-WG %~ IFIP-TC6 %~ IFIP-WG6-1 %~ IFIP-COORDINATION %~ IFIP-LNCS-12134