Visual and Textual Language Synchronization for End-User Programming Environments

Anahide Silahli, Jose Pablo De la Rosa Gutierrez, Thiago Rocha Silva*

*Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingArticle in proceedingsResearchpeer-review

7 Downloads (Pure)

Abstract

End-User Programming (EUP) environments typically offer either a text-based or a visual programming language for end users. Even when both options are provided, they lack real-time synchronization between the two representations. This study explores the integration of the textual and visual representations of a domain-specific language (DSL) for EUP based on Behaviour-Driven Development (BDD) scenarios. By combining a visual editor featuring a block-based language with a textual representation featuring syntax highlighting, error detection, and auto-completion, the platform can enhance accessibility, flexibility, and efficiency in EUP. The primary challenge investigated is achieving real-time, two-way synchronization between the visual and textual editors to maintain consistent code representation, crucial for an optimal user experience. The solution leverages Blockly’s custom code generators to translate blocks to text and Abstract Syntax Trees (ASTs) to convert text to blocks. We evaluated our approach in two use cases in the robotics domain, confirming the potential of the dual editor to offer flexible, domain-tailored end-user programming, with potential for broad future applications.

Original languageEnglish
Title of host publicationEnd-User Development : Proceedings of the 10th International Symposium on End-User Development, IS-EUD 2025, Munich, Germany, June 16–18, 2025
PublisherSpringer
Publication date2025
Pages133-150
ISBN (Print)978-3-031-95451-1
ISBN (Electronic)978-3-031-95452-8
DOIs
Publication statusPublished - 2025
Event10th International Symposium, IS-EUD 2025 - Munich, Germany
Duration: 16. Jun 202518. Jul 2025

Conference

Conference10th International Symposium, IS-EUD 2025
Country/TerritoryGermany
CityMunich
Period16/06/202518/07/2025
SeriesLecture Notes in Computer Science
Number1
Volume15713
ISSN0302-9743

Fingerprint

Dive into the research topics of 'Visual and Textual Language Synchronization for End-User Programming Environments'. Together they form a unique fingerprint.

Cite this