Skip to content
HN On Hacker News ↗

Mixing Visual and Textual Code

▲ 86 points 43 comments by doppioandante 2mo ago HN discussion ↗

Pangram verdict · v3.3

We believe that this document is fully human-written

0 %

AI likelihood · overall

Human
100% human-written 0% AI-generated
SEGMENTS · HUMAN 1 of 1
SEGMENTS · AI 0 of 1
WORD COUNT 246
PEAK AI % 0% · §1
Analyzed
Jun 25
backend: pangram/v3.3
Segments scanned
1 windows
avg 246 words each
Distribution
100 / 0%
human / AI fraction
Verdict
Human
Pangram v3.3

Article text · 246 words · 1 segments analyzed

Human AI-generated
§1 Human · 0%

View PDF 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: to be published in JFP

Subjects: Programming Languages (cs.PL) Cite as: arXiv:2603.15855 [cs.PL]   (or arXiv:2603.15855v2 [cs.PL] for this version)   https://doi.org/10.48550/arXiv.2603.15855 arXiv-issued DOI via DataCite Submission history From: Stephen Chang [view email] [v1] Mon, 16 Mar 2026 19:38:07 UTC (2,124 KB) [v2] Fri, 27 Mar 2026 23:15:52 UTC (2,123 KB)