A live programming environment allows programmers to edit programs while they are running.This means that successive “edit steps” must not allow a programmer to bring the program in a form that does not make any sense to the underlying language processor (i.e. parser, compiler,…). Many live programming environments therefore rely on disciplined edit steps that are based on language elements such as objects, classes, and methods. Textual modifications to these elements are not seen as edit steps until some “accept” button is hit.Unfortunately, no such elements exist in current reactive languages. We present a new reactive language, called Haai, that is based on first-class higher-order reactors. Linguistically, Haai programs correspond to reactors or compositions of reactors. At run-time, reactors produce an infinite stream of values just like signals and behaviours in existing languages.Haai’s live programming environment relies on textual modifications of entire reactors as its basic edit steps. Changing a reactor automatically updates all occurrences of that reactor in the reactive program, while it is running.
Original languageEnglish
Title of host publicationREBLS 2018 - Proceedings of the 5th ACM SIGPLAN International Workshop on Reactive and Event-Based Languages and Systems, Co-located with SPLASH 2018
EditorsGuido Salvaneschi, Wolfgang De Meuter, Patrick Eugster, Lukasz Ziarek, Francisco Sant'Anna
PublisherACM
Pages51-60
Number of pages10
ISBN (Electronic)978-1-4503-6070-8
ISBN (Print)978-1-4503-6070-8
DOIs
Publication statusPublished - 4 Nov 2018
Event5th ACM SIGPLAN International Workshop on Reactive and Event-Based Languages and Systems - Splash 2018, Boston, United States
Duration: 4 Nov 20184 Nov 2018
https://2018.splashcon.org/track/rebls-2018-papers

Publication series

NameREBLS 2018 - Proceedings of the 5th ACM SIGPLAN International Workshop on Reactive and Event-Based Languages and Systems, Co-located with SPLASH 2018

Workshop

Workshop5th ACM SIGPLAN International Workshop on Reactive and Event-Based Languages and Systems
Abbreviated titleREBLS'18
CountryUnited States
CityBoston
Period4/11/184/11/18
Internet address

    Research areas

  • High-Order Programming, Live Programming, Reactive Programming

ID: 40189310