Mixing Visual and Textual Code

doppioandante1 pts0 comments

[2603.15855] Mixing Visual and Textual Code

-->

Computer Science > Programming Languages

arXiv:2603.15855 (cs)

[Submitted on 16 Mar 2026 (v1), last revised 27 Mar 2026 (this version, v2)]

Title:Mixing Visual and Textual Code

Authors:Leif Andersen, Michael Ballantyne, Cameron Moy, Matthias Felleisen, Stephen Chang<br>View a PDF of the paper titled Mixing Visual and Textual Code, by Leif Andersen and 4 other authors

View PDF<br>HTML (experimental)

Abstract:The dominant programming languages support nothing but linear text to express domain-specific geometric ideas. What is needed are hybrid languages that allow developers to create visual syntactic constructs so that they can express their ideas with a mix of textual and visual syntax tailored to an application domain. This mix must put the two kinds of syntax on equal footing and, just as importantly, the extended language must not disrupt a programmer's typical workflow. This means that any new visual syntax should be a proper language extension that is composable with other language features. Furthermore, the extensions should also preserve static reasoning about the program. This paper presents Hybrid ClojureScript the first such hybrid programming language. Hybrid ClojureScript allows programmers to add visual interactive syntax and to embed instances of this syntax within a program's text. An enhanced hybrid IDE can then display these embedded instances as mini-GUIs that programmers interact with, while other IDEs will show a textual representation of the syntax. The paper argues the necessity of such an extensibility mechanism, demonstrates the adoptability of the design, and discusses what might be needed to use the design in other languages.

Comments:<br>to be published in JFP

Subjects:

Programming Languages (cs.PL)

Cite as:<br>arXiv:2603.15855 [cs.PL]

(or<br>arXiv:2603.15855v2 [cs.PL] for this version)

https://doi.org/10.48550/arXiv.2603.15855

Focus to learn more

arXiv-issued DOI via DataCite

Submission history<br>From: Stephen Chang [view email]<br>[v1]<br>Mon, 16 Mar 2026 19:38:07 UTC (2,124 KB)

[v2]<br>Fri, 27 Mar 2026 23:15:52 UTC (2,123 KB)

Full-text links:<br>Access Paper:

View a PDF of the paper titled Mixing Visual and Textual Code, by Leif Andersen and 4 other authors<br>View PDF<br>HTML (experimental)<br>TeX Source

view license

Current browse context:

cs.PL

next >

new<br>recent<br>| 2026-03

Change to browse by:

cs

References & Citations

NASA ADS<br>Google Scholar

Semantic Scholar

export BibTeX citation<br>Loading...

BibTeX formatted citation

&times;

loading...

Data provided by:

Bookmark

Bibliographic Tools

Bibliographic and Citation Tools

Bibliographic Explorer Toggle

Bibliographic Explorer (What is the Explorer?)

Connected Papers Toggle

Connected Papers (What is Connected Papers?)

Litmaps Toggle

Litmaps (What is Litmaps?)

scite.ai Toggle

scite Smart Citations (What are Smart Citations?)

Code, Data, Media

Code, Data and Media Associated with this Article

alphaXiv Toggle

alphaXiv (What is alphaXiv?)

Links to Code Toggle

CatalyzeX Code Finder for Papers (What is CatalyzeX?)

DagsHub Toggle

DagsHub (What is DagsHub?)

GotitPub Toggle

Gotit.pub (What is GotitPub?)

Huggingface Toggle

Hugging Face (What is Huggingface?)

ScienceCast Toggle

ScienceCast (What is ScienceCast?)

Demos

Demos

Replicate Toggle

Replicate (What is Replicate?)

Spaces Toggle

Hugging Face Spaces (What is Spaces?)

Spaces Toggle

TXYZ.AI (What is TXYZ.AI?)

Related Papers

Recommenders and Search Tools

Link to Influence Flower

Influence Flower (What are Influence Flowers?)

Core recommender toggle

CORE Recommender (What is CORE?)

Author

Venue

Institution

Topic

About arXivLabs

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs .

Which authors of this paper are endorsers? |<br>Disable MathJax (What is MathJax?)

toggle visual code arxiv textual view

Related Articles